mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
destroy session on logout instead of restarting it
This commit is contained in:
parent
4cd6b1434a
commit
3e2ca3027b
@ -112,6 +112,6 @@ class SessionAuthenticationHandler implements AuthenticationHandler
|
||||
public function logOut(HTTPRequest $request = null)
|
||||
{
|
||||
$request = $request ?: Controller::curr()->getRequest();
|
||||
$request->getSession()->restart($request);
|
||||
$request->getSession()->destroy();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user