web: Save a 301 redirect from /terms/ to /policies/terms.

This commit is contained in:
Alex Vandiver 2023-03-23 03:09:16 +00:00 committed by Tim Abbott
parent ce847fd09c
commit 822683249d
2 changed files with 3 additions and 3 deletions

View File

@ -108,7 +108,7 @@
{% if not corporate_enabled %}
<a href="/help">{{ _("Help center") }}</a>
{% endif %}
<a href="{{ root_domain_uri }}/terms/">{{ _("Terms of Service") }}</a>
<a href="{{ root_domain_uri }}/policies/terms">{{ _("Terms of Service") }}</a>
<a href="{{ root_domain_uri }}/privacy/">{{ _("Privacy policy") }}</a>
{% if corporate_enabled %}
<a href="https://zulip.com/attribution/">{{ _("Website attributions") }}</a>

View File

@ -24,7 +24,7 @@ class Command(ZulipBaseCommand):
parser.add_argument(
"--agree_to_terms_of_service",
action="store_true",
help="Agree to the Zulipchat Terms of Service: https://zulip.com/terms/.",
help="Agree to the Zulipchat Terms of Service: https://zulip.com/policies/terms.",
)
parser.add_argument(
"--rotate-key",
@ -69,7 +69,7 @@ class Command(ZulipBaseCommand):
if not options["agree_to_terms_of_service"] and not options["rotate_key"]:
print(
"To register, you must agree to the Zulipchat Terms of Service: "
"https://zulip.com/terms/"
"https://zulip.com/policies/terms"
)
tos_prompt = input("Do you agree to the Terms of Service? [Y/n] ")
print("")