diabled admin and csr check for all route entries

This commit is contained in:
huangjx
2021-10-01 23:37:27 +08:00
parent 71dafbd94e
commit f2bca0fc24
6 changed files with 41 additions and 5 deletions

View File

@@ -21,7 +21,10 @@ class SearchController extends Controller
$this->urlGenerator = \OC::$server->getURLGenerator();
$this->search = new torrentSearch();
}
/**
* @NoAdminRequired
* @NoCSRFRequired
*/
public function execute()
{
$keyword = trim($this->request->getParam('form_input_text'));