FriendsOfSymfony / FOSUserBundle

Provides user management for your Symfony project. Compatible with Doctrine ORM & ODM, and custom storages.
https://symfony.com/doc/master/bundles/FOSUserBundle/index.html
MIT License
3.25k stars 1.57k forks source link

Remove the creation of an alias for the session service #3038

Closed stof closed 2 years ago

stof commented 2 years ago

This was a hack to avoid leaking a parameter at runtime, but this is better solved by removing the parameter in the compiler pass. As the session service is deprecated, this avoids referencing it in the alias.