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:
parent
f36fb3ecb1
commit
94ff4c2335
5 changed files with 775 additions and 4 deletions
|
@ -88,6 +88,8 @@ usersRouter.get('/',
|
|||
)
|
||||
|
||||
usersRouter.get('/:id',
|
||||
authenticate,
|
||||
ensureUserHasRight(UserRight.MANAGE_USERS),
|
||||
asyncMiddleware(usersGetValidator),
|
||||
getUser
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue