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

fos_user.listener.email_confirmation depends on non-existent service "session" #3049

Closed phucwan91 closed 1 year ago

phucwan91 commented 1 year ago

I got this error message while I'm upgrading to symfony 6.2

The service "fos_user.listener.email_confirmation" has a dependency on a non-existent service "session"

please update it !

cbeyer commented 1 year ago

Same error for me :/

phucwan91 commented 1 year ago

it can be solved simply in the meantime:

session:
    class: Symfony\Component\HttpFoundation\Session\SessionInterface