]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
allow API documentation for anonymous
authorNicolas LÅ“uillet <nicolas@loeuillet.org>
Tue, 29 Sep 2015 12:52:46 +0000 (14:52 +0200)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Sat, 3 Oct 2015 11:30:43 +0000 (13:30 +0200)
app/config/config.yml
app/config/security.yml

index adf68d6ca9cd360fb1664fe612c4b2f65ec47464..3c63ded3e843af5ac34da0f2df799671e8ffb8a6 100644 (file)
@@ -110,7 +110,9 @@ fos_rest:
     routing_loader:
         default_format: json
 
-nelmio_api_doc: ~
+nelmio_api_doc:
+    sandbox:
+        enabled: false
 
 nelmio_cors:
     defaults:
index 6533a430d05e072482be6185de65242c2d09cd88..79a07c48ed5a77e5633c30fe5318d8364691bedf 100644 (file)
@@ -22,7 +22,7 @@ security:
             pattern: /api/.*
             fos_oauth: true
             stateless: true
-            anonymous: false
+            anonymous: true
 
         login_firewall:
             pattern:    ^/login$