Fix matrix_registration_shared_secret for Dendrite
This commit is contained in:
parent
593fc2fa85
commit
de49cc5271
@ -2145,7 +2145,13 @@ matrix_registration_container_http_host_bind_port: "{{ '' if matrix_nginx_proxy_
|
|||||||
|
|
||||||
matrix_registration_riot_instance: "{{ ('https://' + matrix_server_fqn_element) if matrix_client_element_enabled else 'https://riot.im/app/' }}"
|
matrix_registration_riot_instance: "{{ ('https://' + matrix_server_fqn_element) if matrix_client_element_enabled else 'https://riot.im/app/' }}"
|
||||||
|
|
||||||
matrix_registration_shared_secret: "{{ matrix_synapse_registration_shared_secret if matrix_synapse_enabled else '' }}"
|
matrix_registration_shared_secret: |-
|
||||||
|
{{
|
||||||
|
{
|
||||||
|
'synapse': matrix_synapse_registration_shared_secret,
|
||||||
|
'dendrite': matrix_dendrite_registration_shared_secret,
|
||||||
|
}[matrix_homeserver_implementation]
|
||||||
|
}}
|
||||||
|
|
||||||
matrix_registration_server_location: "{{ matrix_homeserver_container_url }}"
|
matrix_registration_server_location: "{{ matrix_homeserver_container_url }}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user