From 24e906dab59c995f27c84f51f8082c423431c8df Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 31 Dec 2016 18:44:35 +0000 Subject: [PATCH] Disable new registrations from clients --- src/freedombone-app-matrix | 1 + 1 file changed, 1 insertion(+) diff --git a/src/freedombone-app-matrix b/src/freedombone-app-matrix index 919a7124..f3995a8f 100755 --- a/src/freedombone-app-matrix +++ b/src/freedombone-app-matrix @@ -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 {