mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-24 14:09:49 +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