Fix auth provider
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
a5b0308713
commit
fc22a2cb07
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ class DefaultTokenMapper extends Mapper {
|
|||
public function deleteByName($name) {
|
||||
$qb = $this->db->getQueryBuilder();
|
||||
$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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue