Symfony2 FOSUserBundle not setting authenticated user to session?
问题 I have a very basic Symfony2.1 setup with FOSUserBundle installed. When registering all is well and I am redirected to my target path and the debug bar shows that I am authenticated as myself. When logging in however, submitting the form with bad creds will reflect as such, but if I login with the correct creds, I get redirected to my target path but I'm still anon, so authentication is successful but not persisted in the session. Am I missing something? I have followed the basic