Added variable for enabling dendrite reg.
--- a/dendrite/server/defaults/main.yaml Sun Jan 08 16:51:18 2023 -0600
+++ b/dendrite/server/defaults/main.yaml Sun Jan 08 21:50:33 2023 -0600
@@ -5,6 +5,7 @@
dendrite_tar: "https://github.com/matrix-org/dendrite/archive/refs/tags/v{{dendrite_version}}.tar.gz"
dendrite_build_dir: "/tmp/dendrite-{{dendrite_version}}"
dendrite_old_key: false
+dendrite_registration_disabled: true
dendrite_registration_secret: ""
dendrite_db_user: "dendrite_{{dendrite_instance}}"
--- a/dendrite/server/templates/dendrite.yaml.j2 Sun Jan 08 16:51:18 2023 -0600
+++ b/dendrite/server/templates/dendrite.yaml.j2 Sun Jan 08 21:50:33 2023 -0600
@@ -128,7 +128,7 @@
client_api:
# Prevents new users from being able to register on this homeserver, except when
# using the registration shared secret below.
- registration_disabled: true
+ registration_disabled: {{dendrite_registration_disabled}}
# Prevents new guest accounts from being created. Guest registration is also
# disabled implicitly by setting 'registration_disabled' above.