Merge branch '4.1'
* 4.1: fix merge
This commit is contained in:
commit
493c13a9fb
@ -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) {
|
||||||
|
Reference in New Issue
Block a user