forked from fair/matrix-puppeteer-line
Reply as soon as email+password credentials are received
This commit is contained in:
parent
2d9805afe5
commit
3887b1e296
|
@ -119,6 +119,7 @@ async def login_email(evt: CommandEvent) -> None:
|
||||||
return
|
return
|
||||||
if not await login_prep(evt, "email"):
|
if not await login_prep(evt, "email"):
|
||||||
return
|
return
|
||||||
|
await evt.reply("Logging in...")
|
||||||
gen = evt.sender.client.login(
|
gen = evt.sender.client.login(
|
||||||
evt.sender,
|
evt.sender,
|
||||||
login_data=dict(email=evt.args[0], password=evt.args[1]))
|
login_data=dict(email=evt.args[0], password=evt.args[1]))
|
||||||
|
|
Loading…
Reference in New Issue