aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming/lib
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2018-10-17 09:24:21 +0200
committerThomas Citharel <tcit@tcit.fr>2018-10-17 09:24:21 +0200
commitd63de5471bf3c8a40bdc9f9e3b5332d2f0b1f2a9 (patch)
treec421fdbfea6d09612fd6b6d7806a00d89a33e284 /apps/theming/lib
parentb88ab75c3a09c6e275735b0bf14108f8add72e5d (diff)
downloadnextcloud-server-d63de5471bf3c8a40bdc9f9e3b5332d2f0b1f2a9.tar.gz
nextcloud-server-d63de5471bf3c8a40bdc9f9e3b5332d2f0b1f2a9.zip
Don't require Same Site Cookies on assets
Which can be used for public iframe embeeding See https://github.com/nextcloud/calendar/issues/169 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'apps/theming/lib')
-rw-r--r--apps/theming/lib/Controller/ThemingController.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/theming/lib/Controller/ThemingController.php b/apps/theming/lib/Controller/ThemingController.php
index a1fa5e57836..cc8af2cae3e 100644
--- a/apps/theming/lib/Controller/ThemingController.php
+++ b/apps/theming/lib/Controller/ThemingController.php
@@ -397,6 +397,7 @@ class ThemingController extends Controller {
/**
* @NoCSRFRequired
* @PublicPage
+ * @NoSameSiteCookieRequired
*
* @return FileDisplayResponse|NotFoundResponse
* @throws NotPermittedException
@@ -428,6 +429,7 @@ class ThemingController extends Controller {
/**
* @NoCSRFRequired
* @PublicPage
+ * @NoSameSiteCookieRequired
*
* @return DataDownloadResponse
*/