You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Symfony's `Security::login` does not take into account custom `user_checker`
Low severity
GitHub Reviewed
Published
Nov 6, 2024
in
symfony/symfony
•
Updated Nov 6, 2024
Description
The custom
user_checker
defined on a firewall is not called when Login Programmaticaly with theSecurity::login
method, leading to unwanted login.Resolution
The
Security::login
method now ensure to call the configureduser_checker
.The patch for this issue is available here for branch 6.4.
Credits
We would like to thank Oleg Andreyev, Antoine MAKDESSI for reporting the issue and Christian Flothmann for providing the fix.
References