Fix bug with variable named context to securityContext in SimplePreAuthenticationListener->handle function
This commit is contained in:
parent
8890627798
commit
38433d765c
@ -70,7 +70,7 @@ class SimplePreAuthenticationListener implements ListenerInterface
|
||||
$this->logger->info(sprintf('Attempting simple pre-authorization %s', $this->providerKey));
|
||||
}
|
||||
|
||||
if (null !== $this->context->getToken() && !$this->context->getToken() instanceof AnonymousToken) {
|
||||
if (null !== $this->securityContext->getToken() && !$this->securityContext->getToken() instanceof AnonymousToken) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user