aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/config/security.yml
diff options
context:
space:
mode:
Diffstat (limited to 'app/config/security.yml')
-rw-r--r--app/config/security.yml29
1 files changed, 6 insertions, 23 deletions
diff --git a/app/config/security.yml b/app/config/security.yml
index b9c4cbef..98846656 100644
--- a/app/config/security.yml
+++ b/app/config/security.yml
@@ -12,6 +12,8 @@ security:
12 providers: 12 providers:
13 administrators: 13 administrators:
14 entity: { class: WallabagCoreBundle:User, property: username } 14 entity: { class: WallabagCoreBundle:User, property: username }
15 fos_userbundle:
16 id: fos_user.user_provider.username
15 17
16 # the main part of the security, where you can set up firewalls 18 # the main part of the security, where you can set up firewalls
17 # for specific sections of your app 19 # for specific sections of your app
@@ -26,31 +28,12 @@ security:
26 anonymous: ~ 28 anonymous: ~
27 29
28 secured_area: 30 secured_area:
29 pattern: ^/ 31 pattern: ^/
30 anonymous: ~
31 form_login: 32 form_login:
32 login_path: /login 33 provider: fos_userbundle
33 34 csrf_provider: security.csrf.token_manager
34 use_forward: false
35
36 check_path: /login_check
37
38 post_only: true
39
40 always_use_default_target_path: false
41 default_target_path: /
42 target_path_parameter: _target_path
43 use_referer: true
44
45 failure_path: null
46 failure_forward: false
47
48 username_parameter: _username
49 password_parameter: _password
50
51 csrf_parameter: _csrf_token
52 intention: authenticate
53 35
36 anonymous: true
54 remember_me: 37 remember_me:
55 key: "%secret%" 38 key: "%secret%"
56 lifetime: 31536000 39 lifetime: 31536000