diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2011-12-18 14:48:17 +0100 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2011-12-18 14:48:17 +0100 |
commit | c65b37ce9b93a1bbfc6f33a41e834ff080d24c0f (patch) | |
tree | 2f22d35b8b615c348b29b64f8707435d2d306db9 /Http/Firewall | |
parent | 60fe04c4834d8a734b2902ceddf7bbe2ac3d0bcd (diff) | |
parent | 1df44a7f54710ec4f270e7398bf1908af8f8ada8 (diff) | |
download | symfony-security-c65b37ce9b93a1bbfc6f33a41e834ff080d24c0f.zip symfony-security-c65b37ce9b93a1bbfc6f33a41e834ff080d24c0f.tar.gz symfony-security-c65b37ce9b93a1bbfc6f33a41e834ff080d24c0f.tar.bz2 |
merged 2.0
Diffstat (limited to 'Http/Firewall')
-rw-r--r-- | Http/Firewall/AbstractAuthenticationListener.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Http/Firewall/AbstractAuthenticationListener.php b/Http/Firewall/AbstractAuthenticationListener.php index 9f91a39..99f92b8 100644 --- a/Http/Firewall/AbstractAuthenticationListener.php +++ b/Http/Firewall/AbstractAuthenticationListener.php @@ -144,7 +144,7 @@ abstract class AbstractAuthenticationListener implements ListenerInterface $this->sessionStrategy->onAuthentication($request, $returnValue); $response = $this->onSuccess($event, $request, $returnValue); - } else if ($returnValue instanceof Response) { + } elseif ($returnValue instanceof Response) { $response = $returnValue; } else { throw new \RuntimeException('attemptAuthentication() must either return a Response, an implementation of TokenInterface, or null.'); |