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

Don't delete or expire cookies #390

Merged
merged 2 commits into from
Jan 21, 2020
Merged

Don't delete or expire cookies #390

merged 2 commits into from
Jan 21, 2020

Conversation

danschultzer
Copy link
Collaborator

@danschultzer danschultzer commented Jan 21, 2020

Resolves #356

This removes all expiration of cookies, and instead only deletes resp cookie similar to how Plug.Conn.delete_session/1 works. It means that the invalid cookie will still exist in the client until it eventually expires or is overridden.

@danschultzer danschultzer marked this pull request as ready for review January 21, 2020 20:16
@danschultzer danschultzer merged commit b420b86 into master Jan 21, 2020
@danschultzer danschultzer deleted the dont-expire-cookies branch January 21, 2020 21:39
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.

Strange behavior with persistent session
1 participant