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

View file

@ -67,7 +67,7 @@ class UserBackend implements IApacheBackend, UserInterface, IUserBackend {
private function userExistsInDatabase($uid) { private function userExistsInDatabase($uid) {
/* @var $qb IQueryBuilder */ /* @var $qb IQueryBuilder */
$qb = $this->db->getQueryBuilder(); $qb = $this->db->getQueryBuilder();
$qb->select('token') $qb->select('uid')
->from('user_saml_users') ->from('user_saml_users')
->where($qb->expr()->eq('uid', $qb->createNamedParameter($uid))) ->where($qb->expr()->eq('uid', $qb->createNamedParameter($uid)))
->setMaxResults(1); ->setMaxResults(1);