Demo: comment out session store
This commit is contained in:
parent
6a69bbcaf7
commit
dda5e89990
@ -60,10 +60,10 @@ app.use(session({
|
|||||||
secure: true, // true for https only (since our app works only with https)
|
secure: true, // true for https only (since our app works only with https)
|
||||||
},
|
},
|
||||||
name: 'om.sid',
|
name: 'om.sid',
|
||||||
store: new MongoStore({
|
// store: new MongoStore({
|
||||||
mongooseConnection: mong.connection,
|
// mongooseConnection: mong.connection,
|
||||||
ttl: 30 * 24 * 3600,
|
// ttl: 30 * 24 * 3600,
|
||||||
}), // mongoose + connect-mongo
|
// }), // mongoose + connect-mongo
|
||||||
//store: new MemoryStore ({checkPeriod: 24*3600*1000}), // memorystore
|
//store: new MemoryStore ({checkPeriod: 24*3600*1000}), // memorystore
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user