Skip to content

[Security] [Feature] Introduce firewall names in the Security class #32967

@Arman-Hosseini

Description

@Arman-Hosseini

Hello to all Symfony lovers.

I have 3 firewalls in my project for different users and tonight I noticed that the username I enter in the admin login form also appears in the user login form.
I noticed that the security class does not use the current firewall name for last username (that the user sent the request) into the following constants:

const LAST_USERNAME = '_security.last_username';

Tell me if there is a way. Otherwise let me submit a pull request.
Thanks.

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