settings: Use get_secret for altcha_hmac.

When building tarballs, we do not have development secrets.
This commit is contained in:
Alex Vandiver
2025-07-25 18:42:31 +00:00
committed by Tim Abbott
parent 8af90294d8
commit 74675fae94
2 changed files with 3 additions and 3 deletions

View File

@@ -469,7 +469,7 @@ else:
TOR_EXIT_NODE_FILE_PATH = "/var/lib/zulip/tor-exit-nodes.json"
if USING_CAPTCHA:
ALTCHA_HMAC_KEY = get_mandatory_secret("altcha_hmac")
ALTCHA_HMAC_KEY = get_secret("altcha_hmac")
else:
ALTCHA_HMAC_KEY = ""