summary refs log tree commit diff
path: root/synapse/config/registration.py
diff options
context:
space:
mode:
authorMark Haines <mjark@negativecurvature.net>2016-01-29 16:34:13 +0100
committerMark Haines <mjark@negativecurvature.net>2016-01-29 16:34:13 +0100
commitb91baae09d299aacdc0f63c6be54f805e11a3e9d (patch)
tree5d481797667d506030c3b43904b57640ada107c0 /synapse/config/registration.py
parentBump AccountDataAndTagsChangeCache size (diff)
parentAdd missing param to the log line (diff)
downloadsynapse-b91baae09d299aacdc0f63c6be54f805e11a3e9d.tar.xz
Merge pull request #539 from matrix-org/markjh/3pid
Fix up the /account/3pid API
Diffstat (limited to '')
-rw-r--r--synapse/config/registration.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/synapse/config/registration.py b/synapse/config/registration.py

index d3f4b9d543..76d2d2d640 100644 --- a/synapse/config/registration.py +++ b/synapse/config/registration.py
@@ -34,6 +34,7 @@ class RegistrationConfig(Config): self.registration_shared_secret = config.get("registration_shared_secret") self.macaroon_secret_key = config.get("macaroon_secret_key") self.bcrypt_rounds = config.get("bcrypt_rounds", 12) + self.trusted_third_party_id_servers = config["trusted_third_party_id_servers"] self.allow_guest_access = config.get("allow_guest_access", False) def default_config(self, **kwargs): @@ -60,6 +61,12 @@ class RegistrationConfig(Config): # participate in rooms hosted on this server which have been made # accessible to anonymous users. allow_guest_access: False + + # The list of identity servers trusted to verify third party + # identifiers by this server. + trusted_third_party_id_servers: + - matrix.org + - vector.im """ % locals() def add_arguments(self, parser):