aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-07-25 13:35:34 +0200
committerGitHub <noreply@github.com>2018-07-25 13:35:34 +0200
commit35afd4ea5fe77ef8bb6dcbfb1104854d34fddc1c (patch)
treee7d0856b6eccf86ce8a611988770deee8ff92962
parent90eced4b3fe5bc44b8109360ab72dd60bc590978 (diff)
parent12efde520de6848e9718743f9d331ef76b85598e (diff)
downloadnextcloud-server-35afd4ea5fe77ef8bb6dcbfb1104854d34fddc1c.tar.gz
nextcloud-server-35afd4ea5fe77ef8bb6dcbfb1104854d34fddc1c.zip
Merge pull request #10383 from nextcloud/bugfix/noid/allow-to-access-svgs-as-guest
Allow to access SVGs as guest
-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
+}