diff options
author | Matthew Hodgson <matthew@matrix.org> | 2018-01-19 19:55:33 +0000 |
---|---|---|
committer | Matthew Hodgson <matthew@matrix.org> | 2018-01-19 19:55:38 +0000 |
commit | 49fce046243ae3e2c38ac6ac39001172667b8dfa (patch) | |
tree | e56e34533c725d8b3d2148ee30284ca57b81b2b8 /synapse/rest/client/v2_alpha/register.py | |
parent | oops, check all login types (diff) | |
download | synapse-49fce046243ae3e2c38ac6ac39001172667b8dfa.tar.xz |
fix typo (thanks sytest)
Diffstat (limited to 'synapse/rest/client/v2_alpha/register.py')
-rw-r--r-- | synapse/rest/client/v2_alpha/register.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/register.py b/synapse/rest/client/v2_alpha/register.py index 4e73f9a40a..3abfe35479 100644 --- a/synapse/rest/client/v2_alpha/register.py +++ b/synapse/rest/client/v2_alpha/register.py @@ -366,7 +366,7 @@ class RegisterRestServlet(RestServlet): # guaranteed. if auth_result: - for login_type in [LoginType.EMAIL_IDENTITY, LoginType.EMAIL_MSISDN]: + 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'] |