diff --git a/server/auth/slack.js b/server/auth/slack.js index 1e98bf8478..840e04b157 100644 --- a/server/auth/slack.js +++ b/server/auth/slack.js @@ -49,6 +49,7 @@ router.get('slack.callback', auth({ required: false }), async ctx => { console.log('<<<<<<<<<<<<<<<<<<<<<<<'); console.log('COOK STATE: ', ctx.cookies.get('state')); console.log('<<<<<<<<<<<<<<<<<<<<<<<'); + console.log('error: ', error); if (state !== ctx.cookies.get('state')) { ctx.redirect('/?notice=auth-error&error=state_mismatch');