From d0e4210ebfd1084c3cf81135e0ea0e79018ba375 Mon Sep 17 00:00:00 2001 From: MB-Finski Date: Tue, 30 Jan 2024 11:54:58 +0000 Subject: [PATCH] Enable CSRF for getTextProcessingResul Signed-off-by: MB-Finski --- lib/Controller/AssistantController.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/Controller/AssistantController.php b/lib/Controller/AssistantController.php index 95f2e3df..3b04b5be 100644 --- a/lib/Controller/AssistantController.php +++ b/lib/Controller/AssistantController.php @@ -58,7 +58,6 @@ public function getTextProcessingTaskResultPage(int $taskId): TemplateResponse { * @return DataResponse */ #[NoAdminRequired] - #[NoCSRFRequired] #[BruteForceProtection(action: 'taskResults')] public function getTextProcessingResult(int $taskId): DataResponse { $task = $this->assistantService->getTextProcessingTask($this->userId, $taskId);