diff options
Diffstat (limited to 'server/controllers/api/users')
-rw-r--r-- | server/controllers/api/users/token.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/controllers/api/users/token.ts b/server/controllers/api/users/token.ts index 9694f9e5e..f4be228f6 100644 --- a/server/controllers/api/users/token.ts +++ b/server/controllers/api/users/token.ts | |||
@@ -20,8 +20,7 @@ tokensRouter.post('/token', | |||
20 | 20 | ||
21 | tokensRouter.post('/revoke-token', | 21 | tokensRouter.post('/revoke-token', |
22 | authenticate, | 22 | authenticate, |
23 | asyncMiddleware(handleTokenRevocation), | 23 | asyncMiddleware(handleTokenRevocation) |
24 | tokenSuccess | ||
25 | ) | 24 | ) |
26 | 25 | ||
27 | // --------------------------------------------------------------------------- | 26 | // --------------------------------------------------------------------------- |