It should be uid not token
That happens when testing locally with SQLite...
This commit is contained in:
parent
1160b2c874
commit
a5a8b98512
|
@ -67,7 +67,7 @@ class UserBackend implements IApacheBackend, UserInterface, IUserBackend {
|
|||
private function userExistsInDatabase($uid) {
|
||||
/* @var $qb IQueryBuilder */
|
||||
$qb = $this->db->getQueryBuilder();
|
||||
$qb->select('token')
|
||||
$qb->select('uid')
|
||||
->from('user_saml_users')
|
||||
->where($qb->expr()->eq('uid', $qb->createNamedParameter($uid)))
|
||||
->setMaxResults(1);
|
||||
|
|
Loading…
Reference in New Issue