mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Add ability for auth plugins to hook tokens validity
This commit is contained in:
@@ -20,8 +20,7 @@ tokensRouter.post('/token',
|
||||
|
||||
tokensRouter.post('/revoke-token',
|
||||
authenticate,
|
||||
asyncMiddleware(handleTokenRevocation),
|
||||
tokenSuccess
|
||||
asyncMiddleware(handleTokenRevocation)
|
||||
)
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user