one should import what one declares...

... andn not what one thinks was declared^^
This commit is contained in:
Jascha Urbach 2022-11-20 17:47:26 +01:00
parent 31ea868ddc
commit 3c1b38ed2c
No known key found for this signature in database
GPG key ID: A43A844B114F9B08

View file

@ -364,7 +364,7 @@ OTEL_EXPORTER_OTLP_HEADERS = env("OTEL_EXPORTER_OTLP_HEADERS", None)
OTEL_SERVICE_NAME = env("OTEL_SERVICE_NAME", None)
TWO_FACTOR_LOGIN_MAX_SECONDS = 60
if HTTP_X_FORWARDED_PROTO:
SECURE_PROXY_SSL_HEADER = env.bool("SECURE_PROXY_SSL_HEADER", false)
HTTP_X_FORWARDED_PROTO = env.bool("SECURE_PROXY_SSL_HEADER", false)
if HTTP_X_FORWARDED_PROTO:
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")