Private
Public Access
1
0

login && register form overrided

This commit is contained in:
2016-11-02 18:35:03 +01:00
parent e5d9266c9d
commit e1b22358b3
6 changed files with 51 additions and 75 deletions

View File

@@ -16,7 +16,7 @@ security:
form_login:
provider: fos_userbundle
csrf_token_generator: security.csrf.token_manager
default_target_path: /admin
default_target_path: /
logout: true
anonymous: true
@@ -26,4 +26,3 @@ security:
- { path: ^/register, role: IS_AUTHENTICATED_ANONYMOUSLY }
- { path: ^/resetting, role: IS_AUTHENTICATED_ANONYMOUSLY }
- { path: ^/admin, role: ROLE_SUPER_ADMIN }
# - { path: ^/, role: ROLE_SUPER_ADMIN }