Skip to content

Commit d06d34b

Browse files
committed
tmp: NoCSRFRequired to move to OCS endpoint
Signed-off-by: Julius Knorr <jus@bitgrid.net>
1 parent 6211629 commit d06d34b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Controller/DocumentController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,7 @@ public function editOnlineTarget(int $fileId, ?string $target = null): RedirectR
382382
}
383383

384384
#[PublicPage]
385+
#[NoCSRFRequired]
385386
public function token(int $fileId, ?string $shareToken = null, ?string $path = null, ?string $guestName = null): DataResponse {
386387
try {
387388
$share = $shareToken ? $this->shareManager->getShareByToken($shareToken) : null;

0 commit comments

Comments
 (0)