Ignore user_type for login
This commit is contained in:
parent
d8c58504c5
commit
9fe7816b49
@ -110,7 +110,7 @@ async def login(request: web.Request) -> web.Response:
|
|||||||
info, err = await read_client_auth_request(request)
|
info, err = await read_client_auth_request(request)
|
||||||
if err is not None:
|
if err is not None:
|
||||||
return err
|
return err
|
||||||
api, _, username, password = info
|
api, _, username, password, _ = info
|
||||||
try:
|
try:
|
||||||
return web.json_response(await api.request(Method.POST, Path.login, content={
|
return web.json_response(await api.request(Method.POST, Path.login, content={
|
||||||
"type": "m.login.password",
|
"type": "m.login.password",
|
||||||
|
Loading…
Reference in New Issue
Block a user