aboutsummaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/config/security.yml59
1 files changed, 30 insertions, 29 deletions
diff --git a/app/config/security.yml b/app/config/security.yml
index f4fefe2e..c1b0fb77 100644
--- a/app/config/security.yml
+++ b/app/config/security.yml
@@ -23,36 +23,37 @@ security:
23 pattern: ^/login$ 23 pattern: ^/login$
24 anonymous: ~ 24 anonymous: ~
25 25
26 secured_area: 26# secured_area:
27 pattern: ^/ 27# pattern: ^/
28 anonymous: ~ 28# anonymous: ~
29 form_login: 29# form_login:
30 login_path: /login 30# login_path: /login
31 31#
32 use_forward: false 32# use_forward: false
33 33#
34 check_path: /login_check 34# check_path: /login_check
35 35#
36 post_only: true 36# post_only: true
37 37#
38 always_use_default_target_path: true 38# always_use_default_target_path: true
39 default_target_path: / 39# default_target_path: /
40 target_path_parameter: redirect_url 40# target_path_parameter: redirect_url
41 use_referer: true 41# use_referer: true
42 42#
43 failure_path: null 43# failure_path: null
44 failure_forward: false 44# failure_forward: false
45 45#
46 username_parameter: _username 46# username_parameter: _username
47 password_parameter: _password 47# password_parameter: _password
48 48#
49 csrf_parameter: _csrf_token 49# csrf_parameter: _csrf_token
50 intention: authenticate 50# intention: authenticate
51 51#
52 logout: 52# logout:
53 path: /logout 53# path: /logout
54 target: / 54# target: /
55 55
56 access_control: 56 access_control:
57 - { path: ^/api/doc, roles: IS_AUTHENTICATED_ANONYMOUSLY }
57 - { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY } 58 - { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY }
58 - { path: ^/, roles: ROLE_USER } 59 - { path: ^/, roles: ROLE_USER }