up mongodb connect-mongo remove workaround

v1.18.x
barisusakli 9 years ago
parent 68ee690e48
commit d44d036b67

@ -22,7 +22,7 @@
"compression": "^1.1.0",
"connect-ensure-login": "^0.1.1",
"connect-flash": "^0.1.1",
"connect-mongo": "~0.8.2",
"connect-mongo": "~1.1.0",
"connect-multiparty": "^2.0.0",
"connect-redis": "~3.0.2",
"cookie-parser": "^1.3.3",
@ -40,7 +40,7 @@
"mime": "^1.3.4",
"minimist": "^1.1.1",
"mkdirp": "~0.5.0",
"mongodb": "~2.0.0",
"mongodb": "~2.1.3",
"morgan": "^1.3.2",
"nconf": "~0.8.2",
"nodebb-plugin-composer-default": "1.0.26",

@ -106,8 +106,6 @@
module.client = db;
if (!nconf.get('redis')) {
// TEMP: to fix connect-mongo, see https://github.com/kcbanner/connect-mongo/issues/161
db.openCalled = true;
module.sessionStore = new sessionStore({
db: db
});

Loading…
Cancel
Save