mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
settings: Use get_secret for altcha_hmac.
When building tarballs, we do not have development secrets.
This commit is contained in:
committed by
Tim Abbott
parent
8af90294d8
commit
74675fae94
@@ -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 = ""
|
||||
|
||||
|
Reference in New Issue
Block a user