diff options
Diffstat (limited to 'server/controllers/api')
-rw-r--r-- | server/controllers/api/users.ts | 2 |
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 | ||
50 | usersRouter.get('/', | 50 | usersRouter.get('/', |
51 | authenticate, | ||
52 | ensureUserHasRight(UserRight.MANAGE_USERS), | ||
51 | paginationValidator, | 53 | paginationValidator, |
52 | usersSortValidator, | 54 | usersSortValidator, |
53 | setUsersSort, | 55 | setUsersSort, |