diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-01-15 15:38:31 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-01-15 15:38:31 +0100 |
commit | 1930c19d8214c05ceefac5ac011a6b6e7e4a983d (patch) | |
tree | 8f07ffa139c7c2e883a560ef7dbb35a76adfb8dd /app/config/security.yml | |
parent | 790573d45899504bdecd2573c8f64018e23b139e (diff) | |
parent | 131eaa3e94ace8d75d6218e5c7c3aa58d5bb5009 (diff) | |
download | wallabag-1930c19d8214c05ceefac5ac011a6b6e7e4a983d.tar.gz wallabag-1930c19d8214c05ceefac5ac011a6b6e7e4a983d.tar.zst wallabag-1930c19d8214c05ceefac5ac011a6b6e7e4a983d.zip |
Merge pull request #1524 from wallabag/sf2.8
Upgrade to Symfony 3.0
Diffstat (limited to 'app/config/security.yml')
-rw-r--r-- | app/config/security.yml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/app/config/security.yml b/app/config/security.yml index 576cfd25..a99a7d80 100644 --- a/app/config/security.yml +++ b/app/config/security.yml | |||
@@ -15,6 +15,11 @@ security: | |||
15 | # the main part of the security, where you can set up firewalls | 15 | # the main part of the security, where you can set up firewalls |
16 | # for specific sections of your app | 16 | # for specific sections of your app |
17 | firewalls: | 17 | firewalls: |
18 | # disables authentication for assets and the profiler, adapt it according to your needs | ||
19 | dev: | ||
20 | pattern: ^/(_(profiler|wdt)|css|images|js)/ | ||
21 | security: false | ||
22 | |||
18 | oauth_token: | 23 | oauth_token: |
19 | pattern: ^/oauth/v2/token | 24 | pattern: ^/oauth/v2/token |
20 | security: false | 25 | security: false |
@@ -33,11 +38,11 @@ security: | |||
33 | pattern: ^/ | 38 | pattern: ^/ |
34 | form_login: | 39 | form_login: |
35 | provider: fos_userbundle | 40 | provider: fos_userbundle |
36 | csrf_provider: security.csrf.token_manager | 41 | csrf_token_generator: security.csrf.token_manager |
37 | 42 | ||
38 | anonymous: true | 43 | anonymous: true |
39 | remember_me: | 44 | remember_me: |
40 | key: "%secret%" | 45 | secret: "%secret%" |
41 | lifetime: 31536000 | 46 | lifetime: 31536000 |
42 | path: / | 47 | path: / |
43 | domain: ~ | 48 | domain: ~ |