Add remember me functionality
This commit is contained in:
parent
6f5e5b069c
commit
58734aa7b2
3 changed files with 18 additions and 0 deletions
|
@ -25,6 +25,16 @@ security:
|
|||
path: app_logout
|
||||
# where to redirect after logout
|
||||
# target: app_any_route
|
||||
remember_me:
|
||||
secret: '%kernel.secret%'
|
||||
lifetime: 604800 # 1 week in seconds
|
||||
path: /
|
||||
secure: true
|
||||
samesite: strict
|
||||
# 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
|
||||
|
||||
# activate different ways to authenticate
|
||||
# https://symfony.com/doc/current/security.html#firewalls-authentication
|
||||
|
|
Reference in a new issue