mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-26 02:10:36 +01:00
Adding ttl value to the MongoStore options
This commit is contained in:
@@ -139,7 +139,8 @@
|
||||
} else if (nconf.get('mongo')) {
|
||||
sessionStore = require('connect-mongo')(session);
|
||||
module.sessionStore = new sessionStore({
|
||||
db: db
|
||||
db: db,
|
||||
ttl: ttl
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user