[Security] Fixed missed argument in call custom handler when authentication is successful.
This commit is contained in:
parent
1292925702
commit
657f90a931
@ -229,7 +229,7 @@ abstract class AbstractAuthenticationListener implements ListenerInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (null !== $this->successHandler) {
|
if (null !== $this->successHandler) {
|
||||||
$response = $this->successHandler->onAuthenticationSuccess($request, $token);
|
$response = $this->successHandler->onAuthenticationSuccess($event, $request, $token);
|
||||||
} else {
|
} else {
|
||||||
$response = new Response();
|
$response = new Response();
|
||||||
$path = $this->determineTargetUrl($request);
|
$path = $this->determineTargetUrl($request);
|
||||||
|
Reference in New Issue
Block a user