-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Security] Security::login does not take into account custom user_checker #57706
Labels
Comments
Is that related to #54287? |
@MatTheCat looks like something similar - yes. As workaround for now: security.user_checker:
class: App\User\UserChecker |
Can you check if #57748 would fix the issue for you? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Symfony version(s) affected
6.4.3
Description
We have custom
user_checker
for main firewall and we have automatically calledSecurity::login
which does not take into account customuser_checker
and callingInMemoryUserChecker
How to reproduce
security.yaml
after that just call
Security::login()
and UserChecker won't be called.Possible Solution
since already fetch
getFirewallConfig
we need to fetch userChecker and fetch it from container.Additional Context
No response
The text was updated successfully, but these errors were encountered: