Skip to content
Permalink
Browse files

Fixes location of maxAge option for cookie

  • Loading branch information...
davidmerfield committed Oct 8, 2019
1 parent 31c2600 commit cdb877ae37d1aa2f8d1d02e5bf5d72df41f36269
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/session.js
@@ -10,9 +10,9 @@ var sessionOptions = {
saveUninitialized: false,
resave: false,
proxy: true,
maxAge: 1000 * 60 * 60 * 24 * 90, // 90 days in ms
cookie: {
httpOnly: true
httpOnly: true,
maxAge: 1000 * 60 * 60 * 24 * 90 // 90 days in ms
},
store: new Store({
client: redis,

0 comments on commit cdb877a

Please sign in to comment.
You can’t perform that action at this time.