Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
Merge pull request #498 from ilanbiala/0.4.0
Browse files Browse the repository at this point in the history
Update connect-mongo to support Mongoose 4.0.0
  • Loading branch information
lirantal committed Apr 4, 2015
2 parents 79ec946 + dc6f74d commit bb37d1b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/lib/express.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ module.exports.initSession = function (app, db) {
resave: true,
secret: config.sessionSecret,
store: new MongoStore({
db: db.connection.db,
mongooseConnection: db.connection,
collection: config.sessionCollection
})
}));
Expand Down
2 changes: 1 addition & 1 deletion config/lib/socket.io.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = function(app, db) {

// Create a MongoDB storage object
var mongoStore = new MongoStore({
db: db.connection.db,
mongooseConnection: db.connection,
collection: config.sessionCollection
});

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"method-override": "~2.3.0",
"morgan": "~1.5.2",
"multer": "0.1.6",
"connect-mongo": "~0.4.1",
"connect-mongo": "~0.8.0",
"connect-flash": "~0.1.1",
"helmet": "~0.7.1",
"consolidate": "~0.11.0",
Expand Down

0 comments on commit bb37d1b

Please sign in to comment.