Browse Source
Fix auth provider
Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/5816/head
Joas Schilling
8 years ago
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
1 changed files with
1 additions and
1 deletions
-
lib/private/Authentication/Token/DefaultTokenMapper.php
|
|
|
@ -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(); |
|
|
|
} |
|
|
|
|
|
|
|
|