Fix Remember me (#111)

This commit is contained in:
2026-05-21 21:38:31 +02:00
committed by GitHub
parent 182353e2eb
commit 03425024fe
4 changed files with 27 additions and 31 deletions
+4 -1
View File
@@ -24,7 +24,10 @@ security:
default_target_path: tvdt_backoffice_index
logout:
path: tvdt_login_logout
remember_me:
secret: '%kernel.secret%'
lifetime: 604800 # 1 week in seconds
access_control:
- { path: ^/admin, roles: ROLE_ADMIN }
- { path: ^/backoffice, roles: ROLE_USER }