mirror of
https://github.com/zulip/zulip.git
synced 2025-10-22 20:42:14 +00:00
settings: Enable Altcha in development if on localhost.
We only do this on localhost, because users of remote development servers will run afoul of "Secure context is required"[^1]. [^1]: https://altcha.org/docs/troubleshooting/#secure-context
This commit is contained in:
committed by
Tim Abbott
parent
74675fae94
commit
fd390b9eb1
@@ -220,6 +220,10 @@ RESOLVE_TOPIC_UNDO_GRACE_PERIOD_SECONDS = 5
|
||||
# See: https://zulip.readthedocs.io/en/latest/subsystems/realms.html#working-with-subdomains-in-development-environment
|
||||
ROOT_DOMAIN_LANDING_PAGE = True
|
||||
|
||||
# Enable ALTCHA, so that we test this flow; we can only do this on localhost.
|
||||
if external_host_env is None and not IS_DEV_DROPLET:
|
||||
USING_CAPTCHA = True
|
||||
|
||||
TOPIC_SUMMARIZATION_MODEL = "groq/llama-3.3-70b-versatile"
|
||||
# Defaults based on groq's pricing for Llama 3.3 70B Versatile 128k.
|
||||
# https://groq.com/pricing/
|
||||
|
Reference in New Issue
Block a user