Adding ttl value to the MongoStore options

v1.18.x
Dominic Lennon 8 years ago
parent 691b46d38b
commit b1f0f8fa8b

@ -139,7 +139,8 @@
} else if (nconf.get('mongo')) {
sessionStore = require('connect-mongo')(session);
module.sessionStore = new sessionStore({
db: db
db: db,
ttl: ttl
});
}

Loading…
Cancel
Save