diff --git a/lib/Controller/UserApiController.php b/lib/Controller/UserApiController.php index aaaafd99d58..64e788a249a 100644 --- a/lib/Controller/UserApiController.php +++ b/lib/Controller/UserApiController.php @@ -18,6 +18,7 @@ public function __construct($appName, IRequest $request, ISearch $ISearch) { } /** + * @NoAdminRequired * @param string $filter */ public function index(string $filter, int $limit = 5) { diff --git a/src/extensions/Mention.vue b/src/extensions/Mention.vue index bf4370b7ea4..d7289dbbb46 100644 --- a/src/extensions/Mention.vue +++ b/src/extensions/Mention.vue @@ -7,7 +7,7 @@