|
@@ -238,6 +238,7 @@ function matrix_configure_homeserver_yaml {
|
238
|
238
|
sed -i "s|server_name:.*|server_name: \"${DEFAULT_DOMAIN_NAME}\"|g" "${filepath}"
|
239
|
239
|
sed -i "/trusted_third_party_id_servers:/a - ${DEFAULT_DOMAIN_NAME}" "${filepath}"
|
240
|
240
|
sed -i "s|- ${DEFAULT_DOMAIN_NAME}| - ${DEFAULT_DOMAIN_NAME}|g" "${filepath}"
|
|
241
|
+ sed -i "s|enable_registration:.*|enable_registration: False|g" "${filepath}"
|
241
|
242
|
}
|
242
|
243
|
|
243
|
244
|
function matrix_configure_identityserver {
|