Skip to content

Commit

Permalink
Merge pull request #63 from r3h6/fix-issue-62
Browse files Browse the repository at this point in the history
[BUGFIX] Respect usersStoragePid
  • Loading branch information
xperseguers authored Feb 10, 2021
2 parents 96c63e3 + cdeb789 commit 8ed2f1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Classes/Service/AuthenticationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ protected function convertResourceOwner(array $info)
->select('*')
->from($userTable)
->where(
$queryBuilder->expr()->eq('pid', $queryBuilder->createNamedParameter((int)$this->config['usersStoragePid'], \PDO::PARAM_INT)),
$queryBuilder->expr()->eq('tx_oidc', $queryBuilder->createNamedParameter($info['sub'], \PDO::PARAM_STR))
)
->execute()
Expand Down

0 comments on commit 8ed2f1b

Please sign in to comment.