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

View File

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