Bonjour,
j'ai integré le bundle FosUserBundle dans mon projet , j'ai suivi la documentation officielle mais lorsque j'essaye de se connecter voici le message d'erreur qui me s'affiche
"You must configure the check path to be handled by the firewall using form_login in your security firewall configuration."
voici le code de security.yml
Merci d'avance
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 firewalls: main: pattern: ^/ form_login: provider: fos_userbundle csrf_provider: security.csrf.token_manager # Use form.csrf_provider instead for Symfony <2.4 logout: true anonymous: true access_control: - { path: ^/login$, role: IS_AUTHENTICATED_ANONYMOUSLY } - { path: ^/register, role: IS_AUTHENTICATED_ANONYMOUSLY } - { path: ^/resetting, role: IS_AUTHENTICATED_ANONYMOUSLY } - { path: ^/admin/, role: ROLE_ADMIN }
Partager