Skip to content

Commit ebfb0eb

Browse files
Fix FQCN of security.authentication.success event
1 parent f76abb1 commit ebfb0eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/EventRegistry.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
use Symfony\Component\HttpKernel\Event\ResponseEvent;
3232
use Symfony\Component\HttpKernel\Event\TerminateEvent;
3333
use Symfony\Component\HttpKernel\Event\ViewEvent;
34-
use Symfony\Component\Security\Core\Event\AuthenticationEvent;
3534
use Symfony\Component\Security\Core\Event\AuthenticationFailureEvent;
35+
use Symfony\Component\Security\Core\Event\AuthenticationSuccessEvent;
3636
use Symfony\Component\Security\Http\Event\InteractiveLoginEvent;
3737
use Symfony\Component\Security\Http\Event\SwitchUserEvent;
3838
use Symfony\Contracts\EventDispatcher\Event;
@@ -65,7 +65,7 @@ class EventRegistry
6565
'kernel.response' => FilterResponseEvent::class,
6666
'kernel.terminate' => PostResponseEvent::class,
6767
'kernel.finish_request' => FinishRequestEvent::class,
68-
'security.authentication.success' => AuthenticationEvent::class,
68+
'security.authentication.success' => AuthenticationSuccessEvent::class,
6969
'security.authentication.failure' => AuthenticationFailureEvent::class,
7070
'security.interactive_login' => InteractiveLoginEvent::class,
7171
'security.switch_user' => SwitchUserEvent::class,

0 commit comments

Comments
 (0)