fix typo (thanks sytest)

This commit is contained in:
Matthew Hodgson 2018-01-19 19:55:33 +00:00
parent 62d7d66ae5
commit 49fce04624

View file

@ -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']