Connexion par formulaire

This commit is contained in:
bastien ollier
2024-05-22 17:30:31 +02:00
parent 9d16c0e00a
commit 2faae9e088
5 changed files with 131 additions and 0 deletions

View File

@@ -16,6 +16,14 @@ security:
main:
lazy: true
provider: app_user_provider
form_login:
login_path: app_login
check_path: app_login
enable_csrf: true
logout:
path: app_logout
# where to redirect after logout
# target: app_any_route
# activate different ways to authenticate
# https://symfony.com/doc/current/security.html#the-firewall