Create a symfony2 remember me cookie manually (FOSUserBundle)
Could somebody explain how you can manually create a remember me cookie in a controller? I want the users to stay logged in after they pressed the "register" button, without having to login with their credentials afterwards. I've tried to create a cookie manually but i'm guessing the cookie value is incorrect, and therefor the "remember me" functionality doesn't work. A cookie with the correct name gets set. I've checked that. The remember me functionality works as expected when using the normal login procedure with the user's credentials. security.yml security.yml remember me security: