diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-09-29 14:52:46 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2015-10-03 13:30:43 +0200 |
commit | cd1298d6dfc8a811f3808a85bf73f7686c29a0a8 (patch) | |
tree | 9e0711f624c095c4708eec164a893b6489f8bc2d | |
parent | fcb1fba5c2fdb12c9f4041bd334aaced6f302d91 (diff) | |
download | wallabag-cd1298d6dfc8a811f3808a85bf73f7686c29a0a8.tar.gz wallabag-cd1298d6dfc8a811f3808a85bf73f7686c29a0a8.tar.zst wallabag-cd1298d6dfc8a811f3808a85bf73f7686c29a0a8.zip |
allow API documentation for anonymous
-rw-r--r-- | app/config/config.yml | 4 | ||||
-rw-r--r-- | app/config/security.yml | 2 |
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 | ||
113 | nelmio_api_doc: ~ | 113 | nelmio_api_doc: |
114 | sandbox: | ||
115 | enabled: false | ||
114 | 116 | ||
115 | nelmio_cors: | 117 | nelmio_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$ |