Enhancement: allow setting session cookie age (#7743)

This commit is contained in:
shamoon
2024-09-19 18:58:40 -07:00
committed by GitHub
parent 97030a807f
commit a440c88b81
2 changed files with 11 additions and 1 deletions

View File

@@ -611,6 +611,13 @@ You can optionally also automatically redirect users to the SSO login with [PAPE
: Only applies to regular (non-SSO) accounts. See the corresponding
[django-allauth documentation](https://docs.allauth.org/en/latest/account/configuration.html)
#### [`PAPERLESS_SESSION_COOKIE_AGE=<bool>`](#PAPERLESS_SESSION_COOKIE_AGE) {#PAPERLESS_SESSION_COOKIE_AGE}
: Default login cookie expiration. Applies to regular logins if remember is enabled and always for SSO logins. See the corresponding
[django documentation](https://docs.djangoproject.com/en/5.1/ref/settings/#std-setting-SESSION_COOKIE_AGE)
Defaults to 1209600 (2 weeks)
## OCR settings {#ocr}
Paperless uses [OCRmyPDF](https://ocrmypdf.readthedocs.io/en/latest/)