codeclubsocial / codeclub_website_dev

CodeClub website source (website no longer hosted)
http://www.codeclub.social
26 stars 7 forks source link

express-session deprecation #29

Closed holaymolay closed 7 years ago

holaymolay commented 7 years ago

receiving the following message at startup:

express-session deprecated undefined resave option; provide resave option app.js:46:9
express-session deprecated undefined saveUninitialized option; provide saveUninitialized option app.js:46:9

The code this is referring to is: app.use(session({ secret: 'keyboard cat', cookie: { maxAge: 60000 }}));

craig429 commented 7 years ago

Oops, thought I closed this when I fixed it a while back. session params have been updated, this is history.