aboutsummaryrefslogtreecommitdiffstats
path: root/core/Controller
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-07-25 12:05:18 +0200
committerJoas Schilling <coding@schilljs.com>2018-07-25 12:05:18 +0200
commit12efde520de6848e9718743f9d331ef76b85598e (patch)
treed41ce33694164d6bf397568da8ea3dfa82546e49 /core/Controller
parentfb77ff9da432f5cf304a67a538ed497ee437c155 (diff)
downloadnextcloud-server-12efde520de6848e9718743f9d331ef76b85598e.tar.gz
nextcloud-server-12efde520de6848e9718743f9d331ef76b85598e.zip
Allow to access SVGs as guest
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/Controller')
-rw-r--r--core/Controller/SvgController.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/Controller/SvgController.php b/core/Controller/SvgController.php
index 3d1c55d0143..1fad9c39c3b 100644
--- a/core/Controller/SvgController.php
+++ b/core/Controller/SvgController.php
@@ -56,7 +56,7 @@ class SvgController extends Controller {
}
/**
- * @NoAdminRequired
+ * @PublicPage
* @NoCSRFRequired
*
* Generate svg from filename with the requested color
@@ -72,7 +72,7 @@ class SvgController extends Controller {
}
/**
- * @NoAdminRequired
+ * @PublicPage
* @NoCSRFRequired
*
* Generate svg from filename with the requested color
@@ -141,4 +141,4 @@ class SvgController extends Controller {
return $response;
}
-} \ No newline at end of file
+}