Remove default scope from the Password Grant

This commit is contained in:
Andrew Millington 2017-11-06 21:23:14 +00:00
parent 82b81c7f6f
commit 093c7755fa

View File

@ -49,7 +49,7 @@ class PasswordGrant extends AbstractGrant
) {
// Validate request
$client = $this->validateClient($request);
$scopes = $this->validateScopes($this->getRequestParameter('scope', $request, $this->defaultScope));
$scopes = $this->validateScopes($this->getRequestParameter('scope', $request));
$user = $this->validateUser($request, $client);
// Finalize the requested scopes