summary refs log tree commit diff
path: root/synapse/config
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2018-10-29 00:12:07 +0000
committerMatthew Hodgson <matthew@matrix.org>2018-10-29 00:12:07 +0000
commit1ef1b716e2d01c6aeb7f439c6265ed7d022e0eb4 (patch)
treea055391c672de05dc4180073eebe8673d875d225 /synapse/config
parentfix conflict and reinstate 6372dff771413c2b9cd5648cbb6de01a679ef801 (diff)
downloadsynapse-github/matthew/delegate_register.tar.xz
Diffstat (limited to 'synapse/config')
-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