summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2021-04-01 15:09:10 +0200
committerGitHub <noreply@github.com>2021-04-01 15:09:10 +0200
commit037411b3815bb11e009d7356e5254614a48c3e7a (patch)
tree825d3ac0694f6d49833e6c5a5d24fea4cbfb483a /core
parentbd2e6309b5b7719f42f10097ffdef09bcb7447dd (diff)
parentc232a40bdf8c6cd0ed30ca93695c490157a5ee77 (diff)
downloadnextcloud-server-037411b3815bb11e009d7356e5254614a48c3e7a.tar.gz
nextcloud-server-037411b3815bb11e009d7356e5254614a48c3e7a.zip
Merge pull request #26403 from nextcloud/fix-26198-csrf
remove leftover debug @NoCSRFRequired introduced with #26198
Diffstat (limited to 'core')
-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);