Merge pull request #10383 from nextcloud/bugfix/noid/allow-to-access-svgs-as-guest

Allow to access SVGs as guest
This commit is contained in:
Morris Jobke 2018-07-25 13:35:34 +02:00 committed by GitHub
commit 35afd4ea5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}
}
}