Open biscuitdey opened 3 years ago
Changed the MongoStore code as per new format
app.use(session({ secret: 'keyboard cat', resave: false, saveUninitialized: false, store: MongoStore.create({ mongoUrl: process.env.MONGO_URI }) }))
This is really important for new learners. Hopefully this is merged soon.
Changed the MongoStore code as per new format
app.use(session({ secret: 'keyboard cat', resave: false, saveUninitialized: false, store: MongoStore.create({ mongoUrl: process.env.MONGO_URI }) }))