Skip to content
This repository was archived by the owner on Aug 6, 2024. It is now read-only.

Commit

Permalink
FIX: Explicitly clear BackURL when logged in
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Morgan committed Dec 6, 2013
1 parent f59cfc5 commit af3c8ba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/OpauthController.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,9 @@ protected function loginAndRedirect(Member $member, OpauthIdentity $identity, $m

// Clear any identity ID
Session::clear('OpauthIdentityID');

// Clear the BackURL
Session::clear('BackURL');

return $this->redirect($redirectURL);
}
Expand Down

0 comments on commit af3c8ba

Please sign in to comment.