It should be uid not token

That happens when testing locally with SQLite...
This commit is contained in:
Lukas Reschke 2016-07-06 15:05:17 +02:00
parent 1160b2c874
commit a5a8b98512
No known key found for this signature in database
GPG Key ID: 9AB0ADB949B6898C
1 changed files with 1 additions and 1 deletions

View File

@ -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);