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

Commit

Permalink
workaround for express 4 connectMongo session bug
Browse files Browse the repository at this point in the history
  • Loading branch information
revdave33 committed Apr 16, 2014
1 parent 114ce6a commit ff4ae8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/express.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down

0 comments on commit ff4ae8b

Please sign in to comment.