aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers')
-rw-r--r--server/controllers/api/users.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/controllers/api/users.ts b/server/controllers/api/users.ts
index 721b23301..f9b871724 100644
--- a/server/controllers/api/users.ts
+++ b/server/controllers/api/users.ts
@@ -48,6 +48,8 @@ usersRouter.get('/me/videos/:videoId/rating',
48) 48)
49 49
50usersRouter.get('/', 50usersRouter.get('/',
51 authenticate,
52 ensureUserHasRight(UserRight.MANAGE_USERS),
51 paginationValidator, 53 paginationValidator,
52 usersSortValidator, 54 usersSortValidator,
53 setUsersSort, 55 setUsersSort,