Skip to content

Commit

Permalink
Merge pull request #1 from pdffiller/hauth-session-fix
Browse files Browse the repository at this point in the history
[ACC-62] - Removed HAuth Session Clearing Before Redirect
  • Loading branch information
vladimir-cherniuk authored Dec 19, 2018
2 parents b53e681 + 3778b3d commit d393616
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions hybridauth/Hybrid/Provider_Adapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -300,11 +300,6 @@ function returnToCallbackUrl() {
$callback_url = '/';
}

// remove some unneeded stored data
Hybrid_Auth::storage()->delete("hauth_session.{$this->id}.hauth_return_to");
Hybrid_Auth::storage()->delete("hauth_session.{$this->id}.hauth_endpoint");
Hybrid_Auth::storage()->delete("hauth_session.{$this->id}.id_provider_params");

// back to home
Hybrid_Auth::redirect($callback_url);
}
Expand Down

0 comments on commit d393616

Please sign in to comment.