Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added session max age cookie to match keystone.uid cookie expiry #4565

Closed
wants to merge 2 commits into from

Conversation

millsy
Copy link

@millsy millsy commented Feb 5, 2018

Description of changes

Add the session max age cookie (defaults to name this.sid) to match the expiry of the keystone.uid cookie. This correctly then expires when the keystone.uid cookie expires forcing the user to need to re-authenticate.

Related issues (if any)

As described in Issue #4494

Testing

npm test run-all doesn't work - fails on npm test && npm run test-e2e-bg but this occurred before the change was made, so it's likely my env causing build issues.

@stennie
Copy link
Contributor

stennie commented Jul 7, 2018

Thanks @millsy! I cherrypicked and merged your first commit after testing. Updates to dependencies should be done separately, so I skipped the Mongoose bump.

Regards,
Stennie

@stennie stennie closed this Jul 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants