mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-25 17:18:55 +00:00
This is clear enough and testing it seems useless
This commit is contained in:
1 parent
3e9558bf5e
commit
6c8622b6b3
1 file changed
+1
-1
@@ -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