From e307e4fce39853d445d086f92b8c556c363ee15d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 24 Apr 2020 11:33:01 +0200 Subject: Add ability for auth plugins to hook tokens validity --- server/controllers/api/users/token.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'server/controllers/api/users') 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', tokensRouter.post('/revoke-token', authenticate, - asyncMiddleware(handleTokenRevocation), - tokenSuccess + asyncMiddleware(handleTokenRevocation) ) // --------------------------------------------------------------------------- -- cgit v1.2.3