summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormieszko4 <mieszko4@gmail.com>2013-11-05 22:11:59 +0100
committermieszko4 <mieszko4@gmail.com>2013-11-05 22:11:59 +0100
commit7c39ba38abcfbe4786d85be3b0695207bcac0c9d (patch)
treec8d2951bb257312f3b8b4eeaf053f430f607462a
parentcfc877a79617db53cfff99456a652d6f7194a2c0 (diff)
downloadsymfony-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.php2
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;
}