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