Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Merge pull request #5 from JakubDolba/fix-logout-arguments
Browse files Browse the repository at this point in the history
fix logout - wrong parameters usage on logOut method
  • Loading branch information
ishannz authored Feb 19, 2019
2 parents 2c35d79 + cc0046d commit a85f649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Okta.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public function isLoggedIn()
// Anybody who gets here should be logged out
if ($currentMember) {
Security::setCurrentUser(null);
Injector::inst()->get(IdentityStore::class)->logOut($member, true, $this->request);
Injector::inst()->get(IdentityStore::class)->logOut($this->request);
}

return false;
Expand Down

0 comments on commit a85f649

Please sign in to comment.