Skip to content

Commit

Permalink
Merge pull request #1 from BDE-ESIEE/fix/user-route-scope
Browse files Browse the repository at this point in the history
Restrict /user route to authenticated requests only
  • Loading branch information
kevin-ta authored Oct 16, 2021
2 parents c561bd5 + fa9aa74 commit 578b254
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/config/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@ security:
- { path: ^/register, role: IS_AUTHENTICATED_ANONYMOUSLY }
- { path: ^/resetting, role: IS_AUTHENTICATED_ANONYMOUSLY }
- { path: ^/api/doc, role: IS_AUTHENTICATED_ANONYMOUSLY }
- { path: ^/user/.*, role: ROLE_USER }

0 comments on commit 578b254

Please sign in to comment.