Skip to content

Commit

Permalink
increase example firewall to allow registration, password reset and p…
Browse files Browse the repository at this point in the history
…assword forget (#98)
  • Loading branch information
alexander-schranz committed May 17, 2018
1 parent 1fc2742 commit bbd106f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Resources/doc/2-setup-webspace.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,12 @@ security:
id: sulu_security.user_provider

access_control:
      # - { path: /login, roles: IS_AUTHENTICATED_ANONYMOUSLY } # needed when firewall on ^/ is used
      # - { path: /_fragment, roles: IS_AUTHENTICATED_ANONYMOUSLY } # needed when firewall on ^/ is used
# needed when firewall on ^/ is used
      # - { path: /login, roles: IS_AUTHENTICATED_ANONYMOUSLY }
      # - { path: /registration, roles: IS_AUTHENTICATED_ANONYMOUSLY }
      # - { path: /password-reset, roles: IS_AUTHENTICATED_ANONYMOUSLY }
      # - { path: /password-forget, roles: IS_AUTHENTICATED_ANONYMOUSLY }
      # - { path: /_fragment, roles: IS_AUTHENTICATED_ANONYMOUSLY }
- { path: /profile, roles: ROLE_USER }
- { path: /completion, roles: ROLE_USER }

Expand Down

0 comments on commit bbd106f

Please sign in to comment.