Fix for PasswordGrant

This commit is contained in:
Alex Bilbie 2016-01-17 16:38:25 +00:00
parent 322caa77af
commit 13ddec3283

View File

@ -64,7 +64,7 @@ class PasswordGrant extends AbstractGrant
// Validate request // Validate request
$client = $this->validateClient($request); $client = $this->validateClient($request);
$user = $this->validateUser($request); $user = $this->validateUser($request);
$scopes = $this->validateScopes($request, $scopeDelimiter, $client); $scopes = $this->validateScopes($request, $client);
// Issue and persist new tokens // Issue and persist new tokens
$accessToken = $this->issueAccessToken($tokenTTL, $client, $user->getIdentifier(), $scopes); $accessToken = $this->issueAccessToken($tokenTTL, $client, $user->getIdentifier(), $scopes);