summary refs log tree commit diff
path: root/synapse/config/registration.py
diff options
context:
space:
mode:
authorShay <hillerys@element.io>2021-11-18 10:56:32 -0800
committerGitHub <noreply@github.com>2021-11-18 10:56:32 -0800
commit92b75388f520cfec412bf2ff57bcdbfa22d8c01d (patch)
tree0fb39071646e6a5e62a0d410f6532320cde5f1c1 /synapse/config/registration.py
parentAdd dedicated admin API for blocking a room (#11324) (diff)
downloadsynapse-92b75388f520cfec412bf2ff57bcdbfa22d8c01d.tar.xz
Remove legacy code related to deprecated `trust_identity_server_for_password_resets` config flag (#11333)
* remove code legacy code related to deprecated config flag "trust_identity_server_for_password_resets" from synapse/config/emailconfig.py

* remove legacy code supporting depreciated config flag "trust_identity_server_for_password_resets" from synapse/config/registration.py

* remove legacy code supporting depreciated config flag "trust_identity_server_for_password_resets" from synapse/handlers/identity.py

* add tests to ensure config error is thrown and synapse refuses to start when depreciated config flag is found

* add changelog

* slightly change behavior to only check for deprecated flag if set to 'true'

* Update changelog.d/11333.misc

Co-authored-by: reivilibre <oliverw@matrix.org>

Co-authored-by: reivilibre <oliverw@matrix.org>
Diffstat (limited to 'synapse/config/registration.py')
-rw-r--r--synapse/config/registration.py4
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")