mirror of
https://github.com/netzbegruenung/user_saml.git
synced 2024-04-27 14:54:53 +02:00
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) {
|
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);
|
||||||
|
|
Loading…
Reference in a new issue