feat: Add support for terms and conditions when registering

This commit is contained in:
Ginger
2026-04-06 12:19:08 -04:00
committed by Ellis Git
parent 8b762cf2e6
commit eccc878ee9
4 changed files with 59 additions and 2 deletions
+12
View File
@@ -523,6 +523,18 @@
#
#recaptcha_private_site_key =
# Policy documents, such as terms and conditions or a privacy policy,
# which users must agree to when registering an account.
#
# Example:
# ```
# [global.registration_terms.privacy_policy]
# en = { name = "Privacy Policy", url = "https://homeserver.example/en/privacy_policy.html" }
# es = { name = "Política de Privacidad", url = "https://homeserver.example/es/privacy_policy.html" }
# ```
#
#registration_terms = false
# Controls whether encrypted rooms and events are allowed.
#
#allow_encryption = true