Merge branch '4.1'

* 4.1:
  fix merge
This commit is contained in:
Christian Flothmann 2018-10-10 16:58:57 +02:00
commit 493c13a9fb

View File

@ -175,7 +175,6 @@ class ContextListener implements ListenerInterface
// tokens can be deauthenticated if the user has been changed. // tokens can be deauthenticated if the user has been changed.
if (!$newToken->isAuthenticated()) { if (!$newToken->isAuthenticated()) {
if ($this->logoutOnUserChange) {
$userDeauthenticated = true; $userDeauthenticated = true;
if (null !== $this->logger) { if (null !== $this->logger) {
@ -185,9 +184,6 @@ class ContextListener implements ListenerInterface
continue; continue;
} }
return null;
}
$token->setUser($refreshedUser); $token->setUser($refreshedUser);
if (null !== $this->logger) { if (null !== $this->logger) {