diff options
author | Joas Schilling <coding@schilljs.com> | 2017-07-24 11:18:46 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-08-02 09:48:16 +0200 |
commit | fc22a2cb0746a36efdbfe79993263ee3f9e6d11a (patch) | |
tree | d882f15425b69b71b47de05631c5982fd058805b /lib/private/Authentication | |
parent | a5b0308713977ee3c970cda685bcc96ef5f9b125 (diff) | |
download | nextcloud-server-fc22a2cb0746a36efdbfe79993263ee3f9e6d11a.tar.gz nextcloud-server-fc22a2cb0746a36efdbfe79993263ee3f9e6d11a.zip |
Fix auth provider
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Authentication')
-rw-r--r-- | lib/private/Authentication/Token/DefaultTokenMapper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Authentication/Token/DefaultTokenMapper.php b/lib/private/Authentication/Token/DefaultTokenMapper.php index 64812dcaf80..35bb83b85f4 100644 --- a/lib/private/Authentication/Token/DefaultTokenMapper.php +++ b/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(); } |