diff options
author | Jordan Matelsky | 2016-09-26 12:13:24 -0400 |
---|---|---|
committer | GitHub | 2016-09-26 12:13:24 -0400 |
commit | 937e982109793b24cee33ed55aa8b855cee26ad1 (patch) | |
tree | 91278d50b683954ed7d5e103ee997fbf59ce2fc2 | |
parent | 21afa2de14bec4b4eb08f5e58d884753b510dfb9 (diff) |
Remove expiry from cookies
As per [this issue](https://github.com/expressjs/session/issues/365)
Diffstat (limited to '')
-rw-r--r-- | app.js | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 })); |