mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-06 03:50:26 +02:00
Add action hooks to user routes
This commit is contained in:
parent
349be1eaa9
commit
6f3fe96f40
6 changed files with 141 additions and 41 deletions
|
@ -9,6 +9,7 @@ const oAuthServer = new OAuthServer({
|
|||
useErrorHandler: true,
|
||||
accessTokenLifetime: OAUTH_LIFETIME.ACCESS_TOKEN,
|
||||
refreshTokenLifetime: OAUTH_LIFETIME.REFRESH_TOKEN,
|
||||
continueMiddleware: true,
|
||||
model: require('../lib/oauth-model')
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue