bradtraversy / storybooks

Node.js app with Google OAuth
MIT License
569 stars 891 forks source link

store in session updated to new version #31

Open Akhilkumar272002 opened 3 years ago

Akhilkumar272002 commented 3 years ago

//session store value MongoStore update working perfectely //session for passport app.use( session({ secret: "story book", resave: false, saveUninitialized: false, store: new MongoStore({ mongoUrl: mongoose.connection._connectionString, mongoOptions: {}, }), }) );