Associate the $client with $session.

This commit is contained in:
Leevi Graham 2014-11-07 07:50:22 +11:00
parent 736a7b95eb
commit b60693c5d6

View File

@ -215,6 +215,8 @@ class AuthCodeGrant extends AbstractGrant
}
$session = $code->getSession();
$session->associateClient($client);
$authCodeScopes = $code->getScopes();
// Generate the access token