#74 social login

This commit is contained in:
Avris 2020-11-02 20:16:08 +01:00
parent fa9bdee3ee
commit f7a19c2213
1 changed files with 1 additions and 3 deletions

View File

@ -13,9 +13,7 @@ app.use(express.urlencoded({ extended: true }));
app.use(cookieParser()); app.use(cookieParser());
app.use(session({ app.use(session({
secret: process.env.SECRET, secret: process.env.SECRET,
cookie: { cookie: {},
secure: process.env.NODE_ENV === 'production',
},
})); }));
app.use(async function (req, res, next) { app.use(async function (req, res, next) {