feat: mise en page de la page login et page accueil

This commit is contained in:
2026-03-23 18:43:32 +01:00
parent 1b5fd98527
commit ba84b49134
17 changed files with 421 additions and 836 deletions

View File

@@ -1,6 +1,12 @@
security:
# Hierarchie des rôles #
role_hierarchy:
ROLE_ORGANISATION: ROLE_USER
ROLE_ADMIN_ORGANISATION: ROLE_ORGANISATION
ROLE_ADMIN: ROLE_USER
# https://symfony.com/doc/current/security.html#registering-the-user-hashing-passwords
# comment sont hachés nos mots de passe
# Comment sont hachés nos mots de passe
password_hashers:
Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface: 'auto'
@@ -33,6 +39,7 @@ security:
enable_csrf: true
username_parameter: _username
password_parameter: _password
default_target_path: app_home
logout:
path: app_logout
# où rediriger après la déconnexion
@@ -56,6 +63,7 @@ security:
# autorisations
access_control:
- { path: ^/admin, roles: ROLE_ADMIN }
- { path: ^/organisation, roles: ROLE_ADMIN_ORGANISATION }
- { path: ^/user, roles: ROLE_USER }
when@test: