From ff6399436cf8ccab93e621ba031324913d495b2d Mon Sep 17 00:00:00 2001 From: maurine Date: Thu, 19 Mar 2026 11:54:25 +0100 Subject: [PATCH] =?UTF-8?q?feat:=20modification=20des=20param=20de=20s?= =?UTF-8?q?=C3=A9curit=C3=A9=20pour=20la=20d=C3=A9connexion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/packages/security.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/config/packages/security.yaml b/config/packages/security.yaml index 4173719..98c92f1 100644 --- a/config/packages/security.yaml +++ b/config/packages/security.yaml @@ -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