Update AbstractGrant.php

Temporarily removing check on empty scopes as causing issues for Passport users
This commit is contained in:
Andrew Millington 2017-12-23 23:33:42 +00:00 committed by GitHub
parent 276d5b655b
commit a0cabb573c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -242,10 +242,6 @@ abstract class AbstractGrant implements GrantTypeInterface
$validScopes[] = $scope;
}
if (empty($validScopes)) {
throw OAuthServerException::invalidScope('', $redirectUri);
}
return $validScopes;
}