From f7a19c2213e8f4d6fa79ccb8fbda617a70868937 Mon Sep 17 00:00:00 2001 From: Avris Date: Mon, 2 Nov 2020 20:16:08 +0100 Subject: [PATCH] #74 social login --- server/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/server/index.js b/server/index.js index 8633efa9..b8429c0e 100644 --- a/server/index.js +++ b/server/index.js @@ -13,9 +13,7 @@ app.use(express.urlencoded({ extended: true })); app.use(cookieParser()); app.use(session({ secret: process.env.SECRET, - cookie: { - secure: process.env.NODE_ENV === 'production', - }, + cookie: {}, })); app.use(async function (req, res, next) {