Purge session when logging out

fixes #6739
This commit is contained in:
Johannes Meyer 2014-07-16 09:35:32 +02:00
parent 19f05256a0
commit b40027b6c7

View File

@ -176,12 +176,12 @@ class Manager
} }
/** /**
* Purges the current authorization information and removes the user from the session * Purges the current authorization information and session
**/ */
public function removeAuthorization() public function removeAuthorization()
{ {
$this->user = null; $this->user = null;
$this->persistCurrentUser(); Session::getSession()->purge();
} }
/** /**