Disable new registrations from clients

This commit is contained in:
Bob Mottram 2016-12-31 18:44:35 +00:00
parent 3700fde49e
commit 24e906dab5
1 changed files with 1 additions and 0 deletions

View File

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