Merge pull request #240 from leevigraham/patch-1

Associate the $client with $session.
This commit is contained in:
Alex Bilbie 2014-11-06 18:29:49 -05:00
commit 90ce1932cc

View File

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