diff --git a/server/index.js b/server/index.js index 5450cc69..f67126e0 100644 --- a/server/index.js +++ b/server/index.js @@ -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) {