diff options
author | Matthew Hodgson <matthew@matrix.org> | 2018-01-24 11:07:24 +0100 |
---|---|---|
committer | Matthew Hodgson <matthew@matrix.org> | 2018-01-24 11:07:24 +0100 |
commit | d82c89ac22c1c6dcfc52d56e11726b6a47125f74 (patch) | |
tree | 7d43cbd5a41d1e8c73fc1e215218ef6cc8a99236 /synapse/rest/client | |
parent | Merge branch 'develop' into dinsic (diff) | |
download | synapse-d82c89ac22c1c6dcfc52d56e11726b6a47125f74.tar.xz |
fix thinko on 3pid whitelisting
Diffstat (limited to 'synapse/rest/client')
-rw-r--r-- | synapse/rest/client/v2_alpha/register.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/rest/client/v2_alpha/register.py b/synapse/rest/client/v2_alpha/register.py index 3abfe35479..c6f4680a76 100644 --- a/synapse/rest/client/v2_alpha/register.py +++ b/synapse/rest/client/v2_alpha/register.py @@ -368,8 +368,8 @@ class RegisterRestServlet(RestServlet): if auth_result: for login_type in [LoginType.EMAIL_IDENTITY, LoginType.MSISDN]: if login_type in auth_result: - medium = auth_result[login_type].threepid['medium'] - address = auth_result[login_type].threepid['address'] + medium = auth_result[login_type]['medium'] + address = auth_result[login_type]['address'] if not check_3pid_allowed(self.hs, medium, address): raise SynapseError( |