Skip to content

Commit

Permalink
Restrict /user route to authenticated requests only
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-ta authored Oct 15, 2021
1 parent c561bd5 commit fa9aa74
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 fa9aa74

Please sign in to comment.