Ignore user_type for login

This commit is contained in:
Will Hunt 2019-08-28 10:03:28 +01:00 committed by GitHub
parent d8c58504c5
commit 9fe7816b49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,7 +110,7 @@ async def login(request: web.Request) -> web.Response:
info, err = await read_client_auth_request(request)
if err is not None:
return err
api, _, username, password = info
api, _, username, password, _ = info
try:
return web.json_response(await api.request(Method.POST, Path.login, content={
"type": "m.login.password",