Skip to content

Make sessions last longer #3082

Description

@WesleyAC

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    performanceThings related to performance, optimization, load times, etc

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions