Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[SecurityBundle] Login programmatically fails since 7.2.2 when passing authenticator name #59341

Closed
@dmaicher

Description

@dmaicher

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

cc@MatTheCat

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp