diff options
Diffstat (limited to 'server/controllers/api')
-rw-r--r-- | server/controllers/api/users/token.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/users/token.ts b/server/controllers/api/users/token.ts index 3eae28b34..694bb0a92 100644 --- a/server/controllers/api/users/token.ts +++ b/server/controllers/api/users/token.ts | |||
@@ -88,7 +88,7 @@ async function handleToken (req: express.Request, res: express.Response, next: e | |||
88 | async function handleTokenRevocation (req: express.Request, res: express.Response) { | 88 | async function handleTokenRevocation (req: express.Request, res: express.Response) { |
89 | const token = res.locals.oauth.token | 89 | const token = res.locals.oauth.token |
90 | 90 | ||
91 | const result = await revokeToken(token, true) | 91 | const result = await revokeToken(token, { req, explicitLogout: true }) |
92 | 92 | ||
93 | return res.json(result) | 93 | return res.json(result) |
94 | } | 94 | } |