Add new method to flush session variables
This commit is contained in:
@@ -71,7 +71,7 @@ class AuthenticationManager extends Base
|
||||
if ($this->userSession->isLogged() ) {
|
||||
foreach ($this->filterProviders('SessionCheckProviderInterface') as $provider) {
|
||||
if (! $provider->isValidSession()) {
|
||||
unset($this->sessionStorage->user);
|
||||
$this->sessionStorage->flush();
|
||||
$this->preAuthentication();
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user