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

Restore Session Expiration for the Cookie #15

Merged
merged 2 commits into from
Apr 9, 2014
Merged

Restore Session Expiration for the Cookie #15

merged 2 commits into from
Apr 9, 2014

Conversation

filipekiss
Copy link
Contributor

Make the cookieExpiration setting accept "Session" as a value;

Make the cookieExpiration setting accept "Session" as a value;
@jescalan
Copy link
Contributor

jescalan commented Apr 8, 2014

This is an interesting prospect. I feel like maybe the default should actually be session unless days are specified? Or maybe if days is set to false it would restore to session? I like the idea, but I don't like having to pass an arbitrary string.

@filipekiss
Copy link
Contributor Author

So the default would be Session, unless specified? That might work better.

@carlsednaoui
Copy link
Owner

Agreed. @filipekiss, wanna review the PR? I can also work on this in the next few days.

@filipekiss
Copy link
Contributor Author

I'll submit a review in a few minutes :) Thanks @carlsednaoui.

Session is now the default. The setting still work as before.
@carlsednaoui carlsednaoui merged commit cf26d6e into carlsednaoui:master Apr 9, 2014
@carlsednaoui
Copy link
Owner

Thanks for the pulled request 😄 I ended up using a slightly different approach in 5d894ee

@filipekiss
Copy link
Contributor Author

Great :D Glad I could help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants