From 123d7f0a04fe1f3a2abdf61b435e95ccfa83e9f3 Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Wed, 16 Dec 2020 23:27:12 +0000 Subject: Add optional production password for docs --- backend/constants.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'backend') diff --git a/backend/constants.py b/backend/constants.py index fdf7092..4218bff 100644 --- a/backend/constants.py +++ b/backend/constants.py @@ -16,6 +16,8 @@ OAUTH2_REDIRECT_URI = os.getenv( "https://forms.pythondiscord.com/callback" ) +DOCS_PASSWORD = os.getenv("DOCS_PASSWORD") + SECRET_KEY = os.getenv("SECRET_KEY", binascii.hexlify(os.urandom(30)).decode()) HCAPTCHA_API_SECRET = os.getenv("HCAPTCHA_API_SECRET") -- cgit v1.2.3