aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-09-22 12:35:02 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-09-25 16:18:50 +0200
commitc3491e3f149ebc66ae986922566fdcdeef03be5b (patch)
tree652280f0ee263b2e37477c7b88fe8f22b22975a8
parent894958e3e217cd89bb7597fc4a8ea04634b137db (diff)
downloadnextcloud-server-c3491e3f149ebc66ae986922566fdcdeef03be5b.tar.gz
nextcloud-server-c3491e3f149ebc66ae986922566fdcdeef03be5b.zip
Add annotation
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
-rw-r--r--apps/files_sharing/lib/Controller/PublicPreviewController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/lib/Controller/PublicPreviewController.php b/apps/files_sharing/lib/Controller/PublicPreviewController.php
index b3c1db8e504..56d8d94534f 100644
--- a/apps/files_sharing/lib/Controller/PublicPreviewController.php
+++ b/apps/files_sharing/lib/Controller/PublicPreviewController.php
@@ -105,6 +105,7 @@ class PublicPreviewController extends Controller {
/**
* @PublicPage
* @NoCSRFRequired
+ * @NoSameSiteCookieRequired
*
* @param $token
* @return DataResponse|FileDisplayResponse