aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Authentication
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-07-24 11:18:46 +0200
committerJoas Schilling <coding@schilljs.com>2017-08-02 09:48:16 +0200
commitfc22a2cb0746a36efdbfe79993263ee3f9e6d11a (patch)
treed882f15425b69b71b47de05631c5982fd058805b /lib/private/Authentication
parenta5b0308713977ee3c970cda685bcc96ef5f9b125 (diff)
downloadnextcloud-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.php2
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();
}