From ff4ae8bacce6748cb05792a26b656284f8d525b6 Mon Sep 17 00:00:00 2001 From: David Morris Date: Tue, 15 Apr 2014 23:15:35 -0500 Subject: [PATCH] workaround for express 4 connectMongo session bug --- config/express.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/express.js b/config/express.js index 99c01e917b..3901582f06 100755 --- a/config/express.js +++ b/config/express.js @@ -11,7 +11,7 @@ var express = require('express'), methodOverride = require('method-override'), cookieParser = require('cookie-parser'), passport = require('passport'), - mongoStore = require('connect-mongo')(session), + mongoStore = require('connect-mongo')({session: session}), flash = require('connect-flash'), config = require('./config'), consolidate = require('consolidate'),