diff --git a/app/config.py b/app/config.py index 2ceac359..7ba40f00 100644 --- a/app/config.py +++ b/app/config.py @@ -292,3 +292,6 @@ ALERT_SPF = "spf" # Disable onboarding emails DISABLE_ONBOARDING = "DISABLE_ONBOARDING" in os.environ + +HCAPTCHA_SECRET = os.environ.get("HCAPTCHA_SECRET") +HCAPTCHA_SITEKEY = os.environ.get("HCAPTCHA_SITEKEY") diff --git a/example.env b/example.env index ca5c4c19..79d70470 100644 --- a/example.env +++ b/example.env @@ -145,4 +145,8 @@ DISABLE_ONBOARDING=true # By default use postfix port 25. This param is used to override the Postfix port, # useful when using another SMTP server when developing locally -# POSTFIX_PORT=1025 \ No newline at end of file +# POSTFIX_PORT=1025 + +# set the 2 below variables to enable hCaptcha +# HCAPTCHA_SECRET=very_long_string +# HCAPTCHA_SITEKEY=00000000-0000-0000-0000-000000000000 \ No newline at end of file