From f00c3e26a825063b380a31085aef04be93b5c515 Mon Sep 17 00:00:00 2001 From: Till Faelligen <2353100+S7evinK@users.noreply.github.com> Date: Fri, 6 Jan 2023 11:34:22 +0100 Subject: [PATCH] Use the correct config value --- helm/dendrite/README.md | 2 +- helm/dendrite/ci/ct-postgres-sharedsecret-values.yaml | 2 +- helm/dendrite/values.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/helm/dendrite/README.md b/helm/dendrite/README.md index 658a004ee..8a69d40bd 100644 --- a/helm/dendrite/README.md +++ b/helm/dendrite/README.md @@ -88,7 +88,7 @@ Create a folder `appservices` and place your configurations in there. The confi | dendrite_config.app_service_api.disable_tls_validation | bool | `false` | Disable the validation of TLS certificates of appservices. This is not recommended in production since it may allow appservice traffic to be sent to an insecure endpoint. | | dendrite_config.clientapi.registration_disabled | bool | `true` | Prevents new users from being able to register on this homeserver, except when using the registration shared secret below. | | dendrite_config.clientapi.guests_disabled | bool | `true` | | -| dendrite_config.clientapi.shared_secret | string | `""` | If set, allows registration by anyone who knows the shared secret, regardless of whether registration is otherwise disabled. | +| dendrite_config.clientapi.registration_shared_secret | string | `""` | If set, allows registration by anyone who knows the shared secret, regardless of whether registration is otherwise disabled. | | dendrite_config.clientapi.enable_registration_captcha | bool | `false` | enable reCAPTCHA registration | | dendrite_config.clientapi.recaptcha_public_key | string | `""` | reCAPTCHA public key | | dendrite_config.clientapi.recaptcha_private_key | string | `""` | reCAPTCHA private key | diff --git a/helm/dendrite/ci/ct-postgres-sharedsecret-values.yaml b/helm/dendrite/ci/ct-postgres-sharedsecret-values.yaml index 535f4b8e3..44c0d3804 100644 --- a/helm/dendrite/ci/ct-postgres-sharedsecret-values.yaml +++ b/helm/dendrite/ci/ct-postgres-sharedsecret-values.yaml @@ -10,7 +10,7 @@ dendrite_config: server_name: "localhost" clientapi: - shared_secret: "d233f2fcb0470845a8e150a20ef594ddbe0b4cf7fe482fb9d5120c198557acbf" # echo "dendrite" | sha256sum + registration_shared_secret: "d233f2fcb0470845a8e150a20ef594ddbe0b4cf7fe482fb9d5120c198557acbf" # echo "dendrite" | sha256sum ingress: enabled: true diff --git a/helm/dendrite/values.yaml b/helm/dendrite/values.yaml index 3309eed6c..fa4a8fb11 100644 --- a/helm/dendrite/values.yaml +++ b/helm/dendrite/values.yaml @@ -179,7 +179,7 @@ dendrite_config: # -- If set, allows registration by anyone who knows the shared secret, regardless of # whether registration is otherwise disabled. - shared_secret: "" + registration_shared_secret: "" # -- enable reCAPTCHA registration enable_registration_captcha: false