mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-18 22:12:14 +00:00
Fallback for null HCapatcha sitekey
I.e. when we're on a branch
This commit is contained in:
@@ -187,7 +187,7 @@ LOGOUT_URL = '/user/logout/'
|
||||
ACCOUNT_ACTIVATION_DAYS = 7
|
||||
|
||||
# CAPTCHA settings
|
||||
if DEBUG or CI:
|
||||
if DEBUG or CI or env('HCAPTCHA_SITEKEY') is None:
|
||||
HCAPTCHA_SITEKEY = '10000000-ffff-ffff-ffff-000000000001'
|
||||
HCAPTCHA_SECRET = '0x0000000000000000000000000000000000000000'
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user