diff options
author | mieszko4 <mieszko4@gmail.com> | 2013-11-05 22:11:59 +0100 |
---|---|---|
committer | mieszko4 <mieszko4@gmail.com> | 2013-11-05 22:11:59 +0100 |
commit | 7c39ba38abcfbe4786d85be3b0695207bcac0c9d (patch) | |
tree | c8d2951bb257312f3b8b4eeaf053f430f607462a | |
parent | cfc877a79617db53cfff99456a652d6f7194a2c0 (diff) | |
download | symfony-security-7c39ba38abcfbe4786d85be3b0695207bcac0c9d.zip symfony-security-7c39ba38abcfbe4786d85be3b0695207bcac0c9d.tar.gz symfony-security-7c39ba38abcfbe4786d85be3b0695207bcac0c9d.tar.bz2 |
Fix bug with variable named context to securityContext in SimplePreAuthenticationListener->handle function
-rw-r--r-- | Http/Firewall/SimplePreAuthenticationListener.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Http/Firewall/SimplePreAuthenticationListener.php b/Http/Firewall/SimplePreAuthenticationListener.php index 69a53a5..258ca96 100644 --- a/Http/Firewall/SimplePreAuthenticationListener.php +++ b/Http/Firewall/SimplePreAuthenticationListener.php @@ -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; } |