mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 19:46:01 +01:00
feat: upgrade to connect-mongo 3.0.0, closes #7693
This commit is contained in:
@@ -154,7 +154,7 @@ mongoModule.createSessionStore = function (options, callback) {
|
||||
const meta = require('../meta');
|
||||
const sessionStore = require('connect-mongo')(session);
|
||||
const store = new sessionStore({
|
||||
db: client.db(),
|
||||
client: client,
|
||||
ttl: meta.getSessionTTLSeconds(),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user