From 34f8f6009a0be209365bb3e6dba667fb508be966 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= <1005065+DeepDiver1975@users.noreply.github.com> Date: Tue, 23 Jul 2024 11:28:45 +0200 Subject: [PATCH] fix: require CSRF on Admin#cleanLog --- lib/Controller/AdminController.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/Controller/AdminController.php b/lib/Controller/AdminController.php index b2db592..d3fd127 100644 --- a/lib/Controller/AdminController.php +++ b/lib/Controller/AdminController.php @@ -109,10 +109,7 @@ public function downloadLog() { return $this->diagnostics->downloadLog(); } - /** - * @NoCSRFRequired - */ - public function cleanLog() { + public function cleanLog(): void { $this->diagnostics->cleanLog(); } }