diff options
author | H. Shay <hillerys@element.io> | 2021-11-12 16:21:38 -0800 |
---|---|---|
committer | H. Shay <hillerys@element.io> | 2021-11-12 16:21:38 -0800 |
commit | 7857295d7cfcb2668fce86c20d9af3fdc003d088 (patch) | |
tree | 2097581aadeb385ddc6a5b9f0cc4288b12752fb1 /synapse | |
parent | remove code legacy code related to depreciated config flag "trust_identity_se... (diff) | |
download | synapse-7857295d7cfcb2668fce86c20d9af3fdc003d088.tar.xz |
remove legacy code supporting depreciated config flag "trust_identity_server_for_password_resets" from synapse/config/registration.py
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/config/registration.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/config/registration.py b/synapse/config/registration.py index 5379e80715..66382a479e 100644 --- a/synapse/config/registration.py +++ b/synapse/config/registration.py @@ -39,9 +39,7 @@ class RegistrationConfig(Config): self.registration_shared_secret = config.get("registration_shared_secret") self.bcrypt_rounds = config.get("bcrypt_rounds", 12) - self.trusted_third_party_id_servers = config.get( - "trusted_third_party_id_servers", ["matrix.org", "vector.im"] - ) + account_threepid_delegates = config.get("account_threepid_delegates") or {} self.account_threepid_delegate_email = account_threepid_delegates.get("email") self.account_threepid_delegate_msisdn = account_threepid_delegates.get("msisdn") |