allow homepage for all users
This commit is contained in:
parent
54486d008c
commit
9fac9e6607
1 changed files with 2 additions and 1 deletions
|
@ -36,5 +36,6 @@ security:
|
|||
# Note: Only the *first* access control that matches will be used
|
||||
access_control:
|
||||
# - { path: ^/admin, roles: ROLE_ADMIN }
|
||||
- { path: ^/$, roles: IS_AUTHENTICATED_ANONYMOUSLY }
|
||||
- { path: ^/admin, roles: ROLE_ADMIN }
|
||||
- { path: ^(?!/(login|register|reset-password)), roles: ROLE_USER }
|
||||
- { path: ^(?!/(login|register|reset-password|offers)), roles: ROLE_USER }
|
Reference in a new issue