[backend] specify undefined session params

This commit is contained in:
Avris 2020-11-15 07:15:37 +01:00
parent be8e3150a6
commit 057affe860
1 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,8 @@ app.use(cookieParser());
app.use(session({
secret: process.env.SECRET,
cookie: {},
resave: false,
saveUninitialized: false,
}));
app.use(async function (req, res, next) {