aboutsummaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-09-29 14:52:46 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2015-10-03 13:30:43 +0200
commitcd1298d6dfc8a811f3808a85bf73f7686c29a0a8 (patch)
tree9e0711f624c095c4708eec164a893b6489f8bc2d /app
parentfcb1fba5c2fdb12c9f4041bd334aaced6f302d91 (diff)
downloadwallabag-cd1298d6dfc8a811f3808a85bf73f7686c29a0a8.tar.gz
wallabag-cd1298d6dfc8a811f3808a85bf73f7686c29a0a8.tar.zst
wallabag-cd1298d6dfc8a811f3808a85bf73f7686c29a0a8.zip
allow API documentation for anonymous
Diffstat (limited to 'app')
-rw-r--r--app/config/config.yml4
-rw-r--r--app/config/security.yml2
2 files changed, 4 insertions, 2 deletions
diff --git a/app/config/config.yml b/app/config/config.yml
index adf68d6c..3c63ded3 100644
--- a/app/config/config.yml
+++ b/app/config/config.yml
@@ -110,7 +110,9 @@ fos_rest:
110 routing_loader: 110 routing_loader:
111 default_format: json 111 default_format: json
112 112
113nelmio_api_doc: ~ 113nelmio_api_doc:
114 sandbox:
115 enabled: false
114 116
115nelmio_cors: 117nelmio_cors:
116 defaults: 118 defaults:
diff --git a/app/config/security.yml b/app/config/security.yml
index 6533a430..79a07c48 100644
--- a/app/config/security.yml
+++ b/app/config/security.yml
@@ -22,7 +22,7 @@ security:
22 pattern: /api/.* 22 pattern: /api/.*
23 fos_oauth: true 23 fos_oauth: true
24 stateless: true 24 stateless: true
25 anonymous: false 25 anonymous: true
26 26
27 login_firewall: 27 login_firewall:
28 pattern: ^/login$ 28 pattern: ^/login$