mirror of
https://github.com/element-hq/synapse
synced 2024-09-01 18:00:21 +00:00
fix typo (thanks sytest)
This commit is contained in:
parent
62d7d66ae5
commit
49fce04624
1 changed files with 1 additions and 1 deletions
|
@ -366,7 +366,7 @@ class RegisterRestServlet(RestServlet):
|
||||||
# guaranteed.
|
# guaranteed.
|
||||||
|
|
||||||
if auth_result:
|
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:
|
if login_type in auth_result:
|
||||||
medium = auth_result[login_type].threepid['medium']
|
medium = auth_result[login_type].threepid['medium']
|
||||||
address = auth_result[login_type].threepid['address']
|
address = auth_result[login_type].threepid['address']
|
||||||
|
|
Loading…
Reference in a new issue