Use the correct config value

This commit is contained in:
Till Faelligen 2023-01-06 11:34:22 +01:00
parent 27559e7106
commit f00c3e26a8
No known key found for this signature in database
GPG key ID: ACCDC9606D472758
3 changed files with 3 additions and 3 deletions

View file

@ -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 |

View file

@ -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

View file

@ -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