Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
Closed
Description
Symfony version(s) affected
7.2.2
Description
Since#59278 I cannot login users programmatically anymore when passing an authenticator name and when in debug mode.
How to reproduce
Works on 7.2.1 (for debug and also non-debug mode):
/** @var \Symfony\Bundle\SecurityBundle\Security $security */$security->login($user, authenticatorName:'security.authenticator.remember_me.main');
but fails on 7.2.2 with
Unable to find an authenticator named "security.authenticator.remember_me.main" for the firewall "main". Available authenticators: "debug.security.authenticator.login_link.main", "debug.security.authenticator.remember_me.main".
Possible Solution
Seems to be caused by#59278
Additional Context
No response