diff options
author | H. Shay <hillerys@element.io> | 2021-11-15 10:40:57 -0800 |
---|---|---|
committer | H. Shay <hillerys@element.io> | 2021-11-15 10:40:57 -0800 |
commit | 1f07bdd5f350ad9702c1c6178d09a1b77ccb89ea (patch) | |
tree | 95d86a7a1f8dc489616109904417cd14a0cf4ffb /synapse | |
parent | add changelog (diff) | |
download | synapse-1f07bdd5f350ad9702c1c6178d09a1b77ccb89ea.tar.xz |
slightly change behavior to only check for deprecated flag if set to 'true' github/shay/remove_trust_id_server shay/remove_trust_id_server
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/config/emailconfig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/emailconfig.py b/synapse/config/emailconfig.py index 5e787c3aef..510b647c63 100644 --- a/synapse/config/emailconfig.py +++ b/synapse/config/emailconfig.py @@ -138,7 +138,7 @@ class EmailConfig(Config): else ThreepidBehaviour.LOCAL ) - if "trust_identity_server_for_password_resets" in config: + if config.get("trust_identity_server_for_password_resets"): raise ConfigError( 'The config option "trust_identity_server_for_password_resets" ' 'has been replaced by "account_threepid_delegate". ' |