FIX Sessions must be destroyed on logout

This commit is contained in:
Daniel Hensby 2017-11-02 11:31:53 +00:00 committed by Damian Mooyman
parent fc2a20d6e8
commit a61ce077c6

View File

@ -104,6 +104,6 @@ class SessionAuthenticationHandler implements AuthenticationHandler
public function logOut(HTTPRequest $request = null)
{
$request = $request ?: Controller::curr()->getRequest();
$request->getSession()->clear($this->getSessionVariable());
$request->getSession()->destroy();
}
}