mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-17 02:53:11 -06:00
Use the correct config value
This commit is contained in:
parent
27559e7106
commit
f00c3e26a8
|
|
@ -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 |
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue