mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX Sessions must be destroyed on logout
This commit is contained in:
parent
fc2a20d6e8
commit
a61ce077c6
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user