3 FOS\UserBundle\Model\UserInterface: sha512
7 ROLE_SUPER_ADMIN: [ROLE_USER, ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH]
11 id: fos_user.user_provider.username
17 provider: fos_userbundle
18 csrf_provider: form.csrf_provider
19 login_path: fos_user_security_login
20 check_path: fos_user_security_check
21 #http://fr.openclassrooms.com/forum/sujet/redirection-after-login-fosuser-96549
22 always_use_default_target_path: true
23 default_target_path: /board
25 path: /security/logout
29 pattern: ^/(_(profiler|wdt)|css|images|js)/
33 - { path: ^/login$, role: IS_AUTHENTICATED_ANONYMOUSLY }
34 - { path: ^/register, role: IS_AUTHENTICATED_ANONYMOUSLY }
35 - { path: ^/resetting, role: IS_AUTHENTICATED_ANONYMOUSLY }
36 - { path: ^/admin/, role: ROLE_ADMIN }
37 #- { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY, requires_channel: https }