removed maximum age from cookie session

This commit is contained in:
bill bittner 2018-04-18 12:37:56 -07:00
parent ce9ce46b6d
commit a8ec46a3fe

View file

@ -61,7 +61,6 @@ function Server () {
app.use(cookieSession({ app.use(cookieSession({
name : 'session', name : 'session',
keys : [sessionKey], keys : [sessionKey],
maxAge: 24 * 60 * 60 * 1000, // i.e. 24 hours
})); }));
app.use(speechPassport.initialize()); app.use(speechPassport.initialize());
app.use(speechPassport.session()); app.use(speechPassport.session());