summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/app.js b/app.js
index 339ff6c2..86fc28b3 100644
--- a/app.js
+++ b/app.js
@@ -116,8 +116,7 @@ app.use(session({
saveUninitialized: true, //always create session to ensure the origin
rolling: true, // reset maxAge on every response
cookie: {
- maxAge: config.sessionlife,
- expires: new Date(Date.now() + config.sessionlife)
+ maxAge: config.sessionlife
},
store: sessionStore
}));