I\'m using a FOSUserBundle for authentication in Symfony2. Everything works fine except \"remember me\". My security.yml looks like this:
security: providers:
As "Adrian C" said, but with a little change which worked for me.
instead "key" i used "secret"
firewalls: main: ... remember_me: secret: "%secret%" lifetime: 2592000 path: / domain: ~ user_provider: fos_userbundle