Skip to content

Commit

Permalink
Subscribe to correct LoginEvent name
Browse files Browse the repository at this point in the history
This fixes the `last_login_time` record being updated when authenticating
through the `app:users:checkpassword` command.
  • Loading branch information
doobry-systemli committed Nov 6, 2023
1 parent 9268491 commit ba3e774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EventListener/LoginListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public static function getSubscribedEvents(): array
{
return [
SecurityEvents::INTERACTIVE_LOGIN => 'onSecurityInteractiveLogin',
LoginEvent::class => 'onLogin',
LoginEvent::NAME => 'onLogin',
];
}
}

0 comments on commit ba3e774

Please sign in to comment.