From 38433d765c95d157995725c3c60e234b1820a2b4 Mon Sep 17 00:00:00 2001 From: mieszko4 Date: Tue, 5 Nov 2013 22:11:59 +0100 Subject: [PATCH] Fix bug with variable named context to securityContext in SimplePreAuthenticationListener->handle function --- .../Security/Http/Firewall/SimplePreAuthenticationListener.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Security/Http/Firewall/SimplePreAuthenticationListener.php b/src/Symfony/Component/Security/Http/Firewall/SimplePreAuthenticationListener.php index 69a53a5f82..258ca96d6d 100644 --- a/src/Symfony/Component/Security/Http/Firewall/SimplePreAuthenticationListener.php +++ b/src/Symfony/Component/Security/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; }