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

Extend duration of 'remember me' cookie #231

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tom93
Copy link
Contributor

@tom93 tom93 commented Dec 29, 2023

Untested, creating this so we won't forget. It came up in #162.

The 1 month is mostly arbitrary, happy to change it. (I thought 1 month is long enough for regular users, and that if someone has been away >1 month then it's fair to sign them out.)

I'm not completely certain how Devise behaves; my commit message might be inaccurate.

Previously, users would have to sign in every 2 weeks (unless they
configure their web browser to restore session cookies on restart).

Increase the duration to 1 month, and also enable the
`extend_remember_period` feature so that the cookie will be
automatically renewed.
@tom93 tom93 marked this pull request as draft December 29, 2023 13:23
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.

1 participant