-
|
Is there anyway to configure the user's session lifetime? Seems the account automatically logout after serveral weeks. |
Beta Was this translation helpful? Give feedback.
Answered by
pirate
Feb 22, 2025
Replies: 1 comment 1 reply
-
|
The default is Django's default You can change it here:
I may consider upping the default + exposing a real config option in the future, but for now this is how you can do it quick-n-dirty. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
meyergin
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The default is Django's default
SESSION_COOKIE_AGE = 1209600(2 weeks, in seconds).You can change it here:
archivebox version | grep PACKAGE_DIR, e.g./opt/homebrew/lib/python3.11/site-packages/archivebox.../site-packages/archivebox/core/settings.pySESSION_COOKIE_AGE = 3628800(6 weeks, in seconds)I may consider upping the default + exposing a real config option in the future, but for now this is how you can do it quick-n-dirty.