mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-04-02 22:28:51 +00:00
This is clear enough and testing it seems useless
This commit is contained in:
@@ -465,7 +465,7 @@ SECURE_PROXY_SSL_HEADER = (
|
||||
)
|
||||
|
||||
SECRET_KEY = os.getenv("PAPERLESS_SECRET_KEY", "")
|
||||
if not SECRET_KEY:
|
||||
if not SECRET_KEY: # pragma: no cover
|
||||
raise ImproperlyConfigured(
|
||||
"PAPERLESS_SECRET_KEY is not set. "
|
||||
"A unique, secret key is required for secure operation. "
|
||||
|
||||
Reference in New Issue
Block a user