mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-01 16:33:07 +05:30
Update AbstractGrant.php
Temporarily removing check on empty scopes as causing issues for Passport users
This commit is contained in:
parent
276d5b655b
commit
a0cabb573c
@ -242,10 +242,6 @@ abstract class AbstractGrant implements GrantTypeInterface
|
||||
$validScopes[] = $scope;
|
||||
}
|
||||
|
||||
if (empty($validScopes)) {
|
||||
throw OAuthServerException::invalidScope('', $redirectUri);
|
||||
}
|
||||
|
||||
return $validScopes;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user