Skip to content

Commit

Permalink
Add HCAPTCHA_SITEKEY and HCAPTCHA_SECRET settings
Browse files Browse the repository at this point in the history
Signed-off-by: tdruez <[email protected]>
  • Loading branch information
tdruez committed Dec 7, 2023
1 parent 306c9b2 commit 5f9e1a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dejacode/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,10 @@

SITE_ID = env.int("SITE_ID", default=1)
SITE_URL = env.str("SITE_URL", default="")

ENABLE_SELF_REGISTRATION = env.bool("ENABLE_SELF_REGISTRATION", default=False)
HCAPTCHA_SITEKEY = env.str("HCAPTCHA_SITEKEY", default="")
HCAPTCHA_SECRET = env.str("HCAPTCHA_SECRET", default="")

# This instructs the browser to only send these cookies over HTTPS connections.
# Note that this will mean that sessions will not work over HTTP, and the CSRF
Expand Down

0 comments on commit 5f9e1a5

Please sign in to comment.