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