Skip to content

Commit

Permalink
Fix bug with variable named context to securityContext in SimplePreAu…
Browse files Browse the repository at this point in the history
…thenticationListener->handle function
  • Loading branch information
mieszko4 committed Nov 5, 2013
1 parent 8890627 commit 38433d7
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -70,7 +70,7 @@ public function handle(GetResponseEvent $event)
$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;
}

Expand Down

0 comments on commit 38433d7

Please sign in to comment.