diff options
Diffstat (limited to 'dendrite')
| -rw-r--r-- | dendrite/server/defaults/main.yaml | 1 | ||||
| -rw-r--r-- | dendrite/server/templates/dendrite.yaml.j2 | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/dendrite/server/defaults/main.yaml b/dendrite/server/defaults/main.yaml index 8ee418d..b81c555 100644 --- a/dendrite/server/defaults/main.yaml +++ b/dendrite/server/defaults/main.yaml @@ -5,6 +5,7 @@ dendrite_version: "0.10.8" 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}}" diff --git a/dendrite/server/templates/dendrite.yaml.j2 b/dendrite/server/templates/dendrite.yaml.j2 index a5073ed..d57f510 100644 --- a/dendrite/server/templates/dendrite.yaml.j2 +++ b/dendrite/server/templates/dendrite.yaml.j2 @@ -128,7 +128,7 @@ app_service_api: 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. |
