From 657f90a931a3b471905a0c53058982bfcc2a46cc Mon Sep 17 00:00:00 2001 From: Deni Date: Mon, 14 Feb 2011 00:04:26 +0300 Subject: [PATCH] [Security] Fixed missed argument in call custom handler when authentication is successful. --- .../Security/Http/Firewall/AbstractAuthenticationListener.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Security/Http/Firewall/AbstractAuthenticationListener.php b/src/Symfony/Component/Security/Http/Firewall/AbstractAuthenticationListener.php index 2a07cfa1b3..a79e63bf6f 100644 --- a/src/Symfony/Component/Security/Http/Firewall/AbstractAuthenticationListener.php +++ b/src/Symfony/Component/Security/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);