Skip to content

Commit

Permalink
Merge pull request #282 from maknz/master
Browse files Browse the repository at this point in the history
Prevent duplicate session in auth code grant
  • Loading branch information
alexbilbie committed Dec 15, 2014
2 parents 7f81527 + d32bfaa commit 40420f2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Grant/AuthCodeGrant.php
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,6 @@ public function completeFlow()
$code->expire();

// Save all the things
$session->save();
$accessToken->setSession($session);
$accessToken->save();

Expand Down

0 comments on commit 40420f2

Please sign in to comment.