Skip to content

Commit

Permalink
fix: require CSRF on Admin#cleanLog
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepDiver1975 committed Jul 24, 2024
1 parent 5771ea8 commit 34f8f60
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/Controller/AdminController.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,7 @@ public function downloadLog() {
return $this->diagnostics->downloadLog();
}

/**
* @NoCSRFRequired
*/
public function cleanLog() {
public function cleanLog(): void {
$this->diagnostics->cleanLog();
}
}

0 comments on commit 34f8f60

Please sign in to comment.