Client calls revoke-token endpoint on logout

This commit is contained in:
Chocobozzz 2020-04-30 08:47:25 +02:00 committed by Chocobozzz
parent 5a7eecdd56
commit dadc90bca2
3 changed files with 14 additions and 3 deletions

View file

@ -149,6 +149,6 @@ function handleAuthInPlugin (req: express.Request, res: express.Response) {
logger.debug('Forwarding auth plugin request in %s of plugin %s.', authOptions.authName, res.locals.registeredPlugin.npmName)
authOptions.onAuthRequest(req, res)
} catch (err) {
logger.error('Forward request error in auth %s of plugin %s.', authOptions.authName, res.locals.registeredPlugin.npmName)
logger.error('Forward request error in auth %s of plugin %s.', authOptions.authName, res.locals.registeredPlugin.npmName, { err })
}
}