diff --git a/server/routes/index.js b/server/routes/index.js index 70c4601..210be14 100644 --- a/server/routes/index.js +++ b/server/routes/index.js @@ -39,7 +39,6 @@ function setSession (req, user) { function redirectLogin (req, res) { let uri = '/' - console.log(req.session.redirectUri, req.session.csrf) if (req.session.redirectUri) { uri = req.session.redirectUri delete req.session.redirectUri diff --git a/server/routes/oauth2.js b/server/routes/oauth2.js index 3d66dc0..77794be 100644 --- a/server/routes/oauth2.js +++ b/server/routes/oauth2.js @@ -20,7 +20,6 @@ router.use(oauthLimiter) function ensureLoggedIn (req, res, next) { if (req.session.user) return next() req.session.redirectUri = req.originalUrl - console.log('set return uri', req.session.redirectUri, req.session.csrf) res.redirect('/login') }