From 9fe7816b493302e98964170e2cad29dcc76a1602 Mon Sep 17 00:00:00 2001 From: Will Hunt Date: Wed, 28 Aug 2019 10:03:28 +0100 Subject: [PATCH] Ignore user_type for login --- maubot/management/api/client_auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maubot/management/api/client_auth.py b/maubot/management/api/client_auth.py index cf4d845..b0bc690 100644 --- a/maubot/management/api/client_auth.py +++ b/maubot/management/api/client_auth.py @@ -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",