Skip to content
Snippets Groups Projects
Commit 24e906da authored by Bob Mottram's avatar Bob Mottram
Browse files

Disable new registrations from clients

parent 3700fde4
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment