Skip to content

Commit bef86c3

Browse files
committed
Add Altcha hmac key to settings
Workaround for: aboutcode-org/django-altcha#15 Signed-off-by: Keshav Priyadarshi <[email protected]>
1 parent 24224f3 commit bef86c3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

vulnerablecode/settings.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@
3838

3939
CSRF_TRUSTED_ORIGINS = env.list("CSRF_TRUSTED_ORIGINS", default=[])
4040

41+
# Altcha 32-byte hexadecimal key
42+
43+
ALTCHA_HMAC_KEY = env.str("ALTCHA_HMAC_KEY")
44+
4145
# SECURITY WARNING: do not run with debug turned on in production
4246
DEBUG = env.bool("VULNERABLECODE_DEBUG", default=False)
4347

0 commit comments

Comments
 (0)