Disable new registrations from clients
This commit is contained in:
parent
3700fde49e
commit
24e906dab5
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue