Remember Me functionality not working in Symfony2

前端 未结 10 1341
鱼传尺愫
鱼传尺愫 2020-12-14 21:44

I have implemented remember me functionality in Symfony2. When I log in with remember me box checked, cookie named \"REMEMBERME\" gets created. That cookie is also available

10条回答
  •  粉色の甜心
    2020-12-14 22:04

    In my case it was a wrong implementation of the supportsClass method of my userProvider, which in turn caused an exception in the TokenBasedRememberMeService class on line 43 (thrown by getUserProvider, and catched elsewhere, thus failing silently). Digging in the path shown by Dmitry made me solve the issue.

提交回复
热议问题