Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[SecurityBundle] Prevent auto-registration of UserPasswordEncoderCommand #22858
Always registers the command as a service even if no encoders are configured so that it is not auto-registered via reflection.
referenced this pull request
May 22, 2017
However, I am a bit worried about the PR that introduced this - #20677 - specifically that it adds the EncoderFactoryInterface to the constructor. I think we need to be careful to keep commands lazy - I believe this change will cause that service to be instantiated just by running