Require a SECRET_KEY, don't ever fallback to an older one

This commit is contained in:
Trenton H committed 2026-04-02 14:00:04 -07:00
1 parent c1c423c7b2
commit fe2d924505
5 files changed
+25 -16

No files matched your search

+2 -1
View File
@@ -23,7 +23,8 @@
# Security and hosting
#PAPERLESS_SECRET_KEY=change-me
# Required. Generate with: python3 -c "import secrets; print(secrets.token_urlsafe(64))"
PAPERLESS_SECRET_KEY=change-me
#PAPERLESS_URL=https://example.com
#PAPERLESS_CSRF_TRUSTED_ORIGINS=https://example.com # can be set using PAPERLESS_URL
#PAPERLESS_ALLOWED_HOSTS=example.com,www.example.com # can be set using PAPERLESS_URL