From c9430fbb7799ae8ebe9ff0ef4831f85db16e79a0 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 24 Jul 2017 11:18:46 +0200 Subject: [PATCH] Fix auth provider Signed-off-by: Joas Schilling --- lib/private/Authentication/Token/DefaultTokenMapper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Authentication/Token/DefaultTokenMapper.php b/lib/private/Authentication/Token/DefaultTokenMapper.php index 2038bb5a135..00e367801e8 100644 --- a/lib/private/Authentication/Token/DefaultTokenMapper.php +++ b/lib/private/Authentication/Token/DefaultTokenMapper.php @@ -157,7 +157,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(); } -- 2.39.5