From 0d68bfbfbc732dad1d858e2b18e3656d9d79ae09 Mon Sep 17 00:00:00 2001 From: LKD70 Date: Wed, 2 Oct 2019 18:08:53 +0100 Subject: [PATCH] Update app.js --- app.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app.js b/app.js index fdee45a..2479365 100644 --- a/app.js +++ b/app.js @@ -31,10 +31,7 @@ passport.deserializeUser((obj, done) => { done(null, obj); }); -let google_auth = false; -let twitter_auth = false; -let facebook_auth = false; -let telegram_auth = false; +let google_auth = false, twitter_auth = false, facebook_auth = false, telegram_auth = false; if (config.GOOGLE_CLIENT_ID && config.GOOGLE_CLIENT_SECRET) { google_auth = true; passport.use('google', new GoogleStrategy(