Commit b0dd4005 authored by jaywink's avatar jaywink
Browse files

Support configuring a registration shared secret

parent a9764aaa
......@@ -57,6 +57,7 @@ Now you can run the play and get a fresh Dendrite.
* `dendrite_metrics_basic_auth_username` - Username for basic auth of metrics (defaults to empty - no basic auth)
* `dendrite_metrics_basic_auth_password` - Password for basic auth of metrics (defaults to empty - must be set if username is set)
* `dendrite_client_api_registration_enabled` - Whether to allow registrations (defaults to `true`)
* `dendrite_client_api_registration_shared_secret` - Registration shared secret for registering users (defaults to empty)
* `dendrite_container_labels` - Labels to add to the container (defaults to empty dictionary)
* `dendrite_docker_networks` - Additional docker networks to connect to (defaults to empty list)
......
......@@ -16,6 +16,7 @@ dendrite_metrics_enabled: false
dendrite_client_api_registration_enabled: true
dendrite_container_labels: {}
dendrite_docker_networks: []
dendrite_client_api_registration_shared_secret: ""
# Unset
#dendrite_metrics_basic_auth_username:
......
......@@ -120,7 +120,7 @@ client_api:
# If set, allows registration by anyone who knows the shared secret, regardless of
# whether registration is otherwise disabled.
registration_shared_secret: ""
registration_shared_secret: "{{ dendrite_client_api_registration_shared_secret }}"
# Whether to require reCAPTCHA for registration.
enable_registration_captcha: false
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment