#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(session({
secret: process.env.SECRET,
cookie: {
secure: process.env.NODE_ENV === 'production',
},
cookie: {},
}));
app.use(async function (req, res, next) {