mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-05-31 14:12:07 +05:30
Added grant and scopes to UserRepository getUserEntityByUserCredentials method
This commit is contained in:
@@ -123,7 +123,9 @@ class AuthCodeGrant extends AbstractAuthorizeGrant
|
||||
if ($userId === null && $usernameParameter !== null && $passwordParameter !== null) {
|
||||
$userEntity = $this->userRepository->getUserEntityByUserCredentials(
|
||||
$usernameParameter,
|
||||
$passwordParameter
|
||||
$passwordParameter,
|
||||
$this->getIdentifier(),
|
||||
$scopes
|
||||
);
|
||||
|
||||
if ($userEntity instanceof UserEntityInterface) {
|
||||
|
||||
Reference in New Issue
Block a user