security: firewalls: dev: pattern: ^/(_(profiler|wdt)|css|images|js)/ security: false main: anonymous: lazy provider: users guard: authenticators: - App\Security\LoginFormAuthenticator logout: # route appelée pour se déconnecter path: app_logout # route de redirection après la déconnexion target: accueil