Fix auth provider
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
54a4aa9315
commit
c9430fbb77
|
@ -157,7 +157,7 @@ class DefaultTokenMapper extends Mapper {
|
||||||
public function deleteByName($name) {
|
public function deleteByName($name) {
|
||||||
$qb = $this->db->getQueryBuilder();
|
$qb = $this->db->getQueryBuilder();
|
||||||
$qb->delete('authtoken')
|
$qb->delete('authtoken')
|
||||||
->where($qb->expr()->eq('name', $qb->createNamedParameter($name, IQueryBuilder::PARAM_LOB), IQueryBuilder::PARAM_LOB));
|
->where($qb->expr()->eq('name', $qb->createNamedParameter($name), IQueryBuilder::PARAM_STR));
|
||||||
$qb->execute();
|
$qb->execute();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue