Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Adding support for configurable session expiration time #803

Closed

Conversation

lirantal
Copy link
Member

Addresses issue raised here #802

@@ -114,6 +114,7 @@ module.exports.initSession = function (app, db) {
app.use(session({
saveUninitialized: true,
resave: true,
maxAge: config.sessionExpiration,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure, but shouldn't this be: cookie: {maxAge: config.sessionExpiration}, instead?

@lirantal lirantal force-pushed the feature/session-expiration-enhancement branch from 50311ab to 2af67f7 Compare August 14, 2015 12:21
@lirantal
Copy link
Member Author

Closing in favor of #804 as this PR got messed up.

@lirantal lirantal closed this Aug 14, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants