diff options
author | Chocobozzz <me@florianbigard.com> | 2020-04-30 08:47:25 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-05-04 16:21:39 +0200 |
commit | dadc90bca257f2d785713a37949c3a1bf6a5243d (patch) | |
tree | 6d7a79df1c89efac2790cd46e00fea7883384314 /server/controllers/plugins.ts | |
parent | 5a7eecdd56120bc29b47ab071c8b8cd16efa3843 (diff) | |
download | PeerTube-dadc90bca257f2d785713a37949c3a1bf6a5243d.tar.gz PeerTube-dadc90bca257f2d785713a37949c3a1bf6a5243d.tar.zst PeerTube-dadc90bca257f2d785713a37949c3a1bf6a5243d.zip |
Client calls revoke-token endpoint on logout
Diffstat (limited to 'server/controllers/plugins.ts')
-rw-r--r-- | server/controllers/plugins.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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) { | |||
149 | logger.debug('Forwarding auth plugin request in %s of plugin %s.', authOptions.authName, res.locals.registeredPlugin.npmName) | 149 | logger.debug('Forwarding auth plugin request in %s of plugin %s.', authOptions.authName, res.locals.registeredPlugin.npmName) |
150 | authOptions.onAuthRequest(req, res) | 150 | authOptions.onAuthRequest(req, res) |
151 | } catch (err) { | 151 | } catch (err) { |
152 | logger.error('Forward request error in auth %s of plugin %s.', authOptions.authName, res.locals.registeredPlugin.npmName) | 152 | logger.error('Forward request error in auth %s of plugin %s.', authOptions.authName, res.locals.registeredPlugin.npmName, { err }) |
153 | } | 153 | } |
154 | } | 154 | } |