From d06d34be1f1f2143ca316481294e3bcaa10c5d6d Mon Sep 17 00:00:00 2001 From: Julius Knorr Date: Fri, 29 Nov 2024 15:01:02 +0100 Subject: [PATCH] tmp: NoCSRFRequired to move to OCS endpoint Signed-off-by: Julius Knorr --- lib/Controller/DocumentController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Controller/DocumentController.php b/lib/Controller/DocumentController.php index ddc79a47b6..dd4977c424 100644 --- a/lib/Controller/DocumentController.php +++ b/lib/Controller/DocumentController.php @@ -382,6 +382,7 @@ public function editOnlineTarget(int $fileId, ?string $target = null): RedirectR } #[PublicPage] + #[NoCSRFRequired] public function token(int $fileId, ?string $shareToken = null, ?string $path = null, ?string $guestName = null): DataResponse { try { $share = $shareToken ? $this->shareManager->getShareByToken($shareToken) : null;