Add debug log for session invalidation
This commit is contained in:
parent
70c65268fe
commit
8f6c064cd7
|
|
@ -68,9 +68,10 @@ class AuthenticationManager extends Base
|
|||
*/
|
||||
public function checkCurrentSession()
|
||||
{
|
||||
if ($this->userSession->isLogged() ) {
|
||||
if ($this->userSession->isLogged()) {
|
||||
foreach ($this->filterProviders('SessionCheckProviderInterface') as $provider) {
|
||||
if (! $provider->isValidSession()) {
|
||||
$this->logger->debug('Invalidate session for '.$this->userSession->getUsername());
|
||||
$this->sessionStorage->flush();
|
||||
$this->preAuthentication();
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue