Skip to content

Cannot Autowire  #46549

@Zuruuh

Description

@Zuruuh

Symfony version(s) affected

5.4

Description

When using a php config file for the security package, it is not possible to autowire the UserPasswordHasherInterface component

How to reproduce

Example project with this issue https://github.com/Zuruuh/symfony-password-hasher-poc, check the readme and the config/packages/security.php files

Possible Solution

No response

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