I feel like I get logged out of bookwyrm.social all the time. I think we should default to much longer/more persistent sessions than we do. In the modern era short sessions are generally not considered a security advantage and are quite a nuisance.
Looks like this is as simple as setting SESSION_COOKIE_AGE, which defaults to two weeks. I propose a default value of 4 years (60*60*24*365*4 == 126144000). Thoughts?
I feel like I get logged out of bookwyrm.social all the time. I think we should default to much longer/more persistent sessions than we do. In the modern era short sessions are generally not considered a security advantage and are quite a nuisance.
Looks like this is as simple as setting
SESSION_COOKIE_AGE, which defaults to two weeks. I propose a default value of 4 years (60*60*24*365*4==126144000). Thoughts?