Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2021-04-01 14:51:53 +0300
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2021-04-01 16:13:47 +0300
commitfb201a5747b734e10acd958de75b5a27d8027269 (patch)
tree12c534972d5de859ae91d7dead64f11f2fff8fbb
parent9df8953adfee902b0bdae78afdcbc212306646dc (diff)
remove leftover debug @NoCSRFRequired introduced with #26198
Signed-off-by: Robin Appelman <robin@icewind.nl>
-rw-r--r--core/Controller/SearchController.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/Controller/SearchController.php b/core/Controller/SearchController.php
index 42439e9ceb9..72633630dad 100644
--- a/core/Controller/SearchController.php
+++ b/core/Controller/SearchController.php
@@ -55,7 +55,6 @@ class SearchController extends Controller {
/**
* @NoAdminRequired
- * @NoCSRFRequired
*/
public function search(string $query, array $inApps = [], int $page = 1, int $size = 30): JSONResponse {
$results = $this->searcher->searchPaged($query, $inApps, $page, $size);