소스 검색

[Security] Fixed missed argument in call custom handler when authentication is successful.

Deni 14 년 전
부모
커밋
657f90a931
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Symfony/Component/Security/Http/Firewall/AbstractAuthenticationListener.php

+ 1 - 1
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);