add remember me with fosuser
Sección: Symfony
Creado: 22-12-24
http://symfony.com/doc/current/security/remember_me.html
config.yml
framework: session: # http://symfony.com/doc/current/reference/configuration/framework.html#handler-id handler_id: session.handler.native_file save_path: "%kernel.root_dir%/../var/sessions/%kernel.environment%" cookie_lifetime: 600
security.yml
firewalls: main: remember_me: secret: "%secret%" lifetime: 604800 # 365 days in seconds path: / # by default, the feature is enabled by checking a # checkbox in the login form (see below), uncomment the # following line to always enable it. #always_remember_me: true