My access_controll
looks like:
- { path: ^/login, role: IS_AUTHENTICATED_ANONYMOUSLY}- { path: ^/, roles: ROLE_USER}
I need to give an access to route /login
only to anonymously authenticated users.
My access_controll
looks like:
- { path: ^/login, role: IS_AUTHENTICATED_ANONYMOUSLY}- { path: ^/, roles: ROLE_USER}
I need to give an access to route /login
only to anonymously authenticated users.