Add HCAPTCHA_SECRET, HCAPTCHA_SITEKEY param

This commit is contained in:
Son NK 2020-07-23 12:40:50 +02:00
parent 38a6bcc461
commit 307e3c93c6
2 changed files with 8 additions and 1 deletions

View File

@ -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")

View File

@ -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
# POSTFIX_PORT=1025
# set the 2 below variables to enable hCaptcha
# HCAPTCHA_SECRET=very_long_string
# HCAPTCHA_SITEKEY=00000000-0000-0000-0000-000000000000