1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 19:42:24 +02:00

Add auth documentation

This commit is contained in:
Chocobozzz 2018-04-16 10:48:17 +02:00
parent f36fb3ecb1
commit 94ff4c2335
No known key found for this signature in database
GPG key ID: 583A612D890159BE
5 changed files with 775 additions and 4 deletions

View file

@ -88,6 +88,8 @@ usersRouter.get('/',
)
usersRouter.get('/:id',
authenticate,
ensureUserHasRight(UserRight.MANAGE_USERS),
asyncMiddleware(usersGetValidator),
getUser
)