summary refs log tree commit diff
path: root/synapse/config/registration.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/config/registration.py')
-rw-r--r--synapse/config/registration.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/synapse/config/registration.py b/synapse/config/registration.py

index 685c78bc7f..a9bb13c934 100644 --- a/synapse/config/registration.py +++ b/synapse/config/registration.py
@@ -60,6 +60,8 @@ class RegistrationConfig(Config): if not isinstance(self.replicate_user_profiles_to, list): self.replicate_user_profiles_to = [self.replicate_user_profiles_to, ] + self.chain_register = config.get("chain_register", None) + def default_config(self, **kwargs): registration_shared_secret = random_string_with_symbols(50) @@ -137,6 +139,13 @@ class RegistrationConfig(Config): # cross-homeserver user directories. # replicate_user_profiles_to: example.com + # If specified, attempt to replay registrations on the given target + # homeserver and identity server. The HS is authed via a given shared secret + # chain_register: + # hs: https://shadow.example.com + # hs_shared_secret: 12u394refgbdhivsia + # is: https://shadow-is.example.com + # If enabled, don't let users set their own display names/avatars # other than for the very first time (unless they are a server admin). # Useful when provisioning users based on the contents of a 3rd party