Add debug log for session invalidation
This commit is contained in:
@@ -71,6 +71,7 @@ class AuthenticationManager extends Base
|
|||||||
if ($this->userSession->isLogged()) {
|
if ($this->userSession->isLogged()) {
|
||||||
foreach ($this->filterProviders('SessionCheckProviderInterface') as $provider) {
|
foreach ($this->filterProviders('SessionCheckProviderInterface') as $provider) {
|
||||||
if (! $provider->isValidSession()) {
|
if (! $provider->isValidSession()) {
|
||||||
|
$this->logger->debug('Invalidate session for '.$this->userSession->getUsername());
|
||||||
$this->sessionStorage->flush();
|
$this->sessionStorage->flush();
|
||||||
$this->preAuthentication();
|
$this->preAuthentication();
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user