Merge pull request #282 from maknz/master

Prevent duplicate session in auth code grant
This commit is contained in:
Alex Bilbie 2014-12-15 16:27:02 +00:00
commit 40420f27ed

View File

@ -260,7 +260,6 @@ class AuthCodeGrant extends AbstractGrant
$code->expire(); $code->expire();
// Save all the things // Save all the things
$session->save();
$accessToken->setSession($session); $accessToken->setSession($session);
$accessToken->save(); $accessToken->save();