mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-28 18:24:38 -05:00
Enhancement: allow setting session cookie age (#7743)
This commit is contained in:
@@ -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/)
|
||||
|
Reference in New Issue
Block a user