Skip to content

Commit a9194a2

Browse files
authored
Merge pull request nextcloud#20 from nextcloud/it-should-be-uid-not-token
It should be uid not token
2 parents 9417024 + 7038f89 commit a9194a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/userbackend.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function __construct(IConfig $config,
6767
private function userExistsInDatabase($uid) {
6868
/* @var $qb IQueryBuilder */
6969
$qb = $this->db->getQueryBuilder();
70-
$qb->select('token')
70+
$qb->select('uid')
7171
->from('user_saml_users')
7272
->where($qb->expr()->eq('uid', $qb->createNamedParameter($uid)))
7373
->setMaxResults(1);

0 commit comments

Comments
 (0)