feat: modification des param de sécurité pour la déconnexion

This commit is contained in:
2026-03-19 11:54:25 +01:00
parent d81e450a0e
commit ff6399436c

View File

@@ -31,20 +31,20 @@ security:
login_path: app_login
check_path: app_login
enable_csrf: true
username_parameter: _username
password_parameter: _password
logout:
# où rediriger après la déconnexion
path: app_logout
# custom_authenticator: App\Security\AppCustomAuthenticator
# où rediriger après la déconnexion
target: app_login
remember_me:
secret: '%kernel.secret%'
lifetime: 604800
path: /
# by default, the feature is enabled by checking a checkbox in the
# login form, uncomment the following line to always enable it.
# par défaut, le "souvenir de moi" n'est pas coché, l'utilisateur doit cliquer sur la check-box
# si on veut "souvenir de moi" activité en permanence, il faut décommenter cette ligne :
#always_remember_me: true
# where to redirect after logout
# target: app_any_route
# Activate different ways to authenticate:
# https://symfony.com/doc/current/security.html#the-firewall