summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDeni <liquid.yethee@hotmail.com>2011-02-14 00:04:26 +0300
committerFabien Potencier <fabien.potencier@gmail.com>2011-02-13 22:27:28 +0100
commitd3b1f6131134e5be76e52eee30952356d8e159e4 (patch)
tree5a67864c7bb151fcdd51d72ea2911a2c7352cb0b
parenta01a87683aa1547c866eac49a7839028fba5877e (diff)
downloadsymfony-security-d3b1f6131134e5be76e52eee30952356d8e159e4.zip
symfony-security-d3b1f6131134e5be76e52eee30952356d8e159e4.tar.gz
symfony-security-d3b1f6131134e5be76e52eee30952356d8e159e4.tar.bz2
[Security] Fixed missed argument in call custom handler when authentication is successful.
-rw-r--r--Http/Firewall/AbstractAuthenticationListener.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Http/Firewall/AbstractAuthenticationListener.php b/Http/Firewall/AbstractAuthenticationListener.php
index 2a07cfa..a79e63b 100644
--- a/Http/Firewall/AbstractAuthenticationListener.php
+++ b/Http/Firewall/AbstractAuthenticationListener.php
@@ -229,7 +229,7 @@ abstract class AbstractAuthenticationListener implements ListenerInterface
}
if (null !== $this->successHandler) {
- $response = $this->successHandler->onAuthenticationSuccess($request, $token);
+ $response = $this->successHandler->onAuthenticationSuccess($event, $request, $token);
} else {
$response = new Response();
$path = $this->determineTargetUrl($request);