diff --git a/Classes/Service/AuthenticationService.php b/Classes/Service/AuthenticationService.php index 2c175ef..b2d9b6c 100644 --- a/Classes/Service/AuthenticationService.php +++ b/Classes/Service/AuthenticationService.php @@ -271,6 +271,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()