Skip to content

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.

2 participants