From dadc90bca257f2d785713a37949c3a1bf6a5243d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 30 Apr 2020 08:47:25 +0200 Subject: Client calls revoke-token endpoint on logout --- server/controllers/plugins.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/controllers/plugins.ts') diff --git a/server/controllers/plugins.ts b/server/controllers/plugins.ts index f12e1c0f5..f88a1632d 100644 --- a/server/controllers/plugins.ts +++ b/server/controllers/plugins.ts @@ -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 }) } } -- cgit v1.2.3