Reply as soon as email+password credentials are received

This commit is contained in:
Andrew Ferrazzutti 2021-10-14 23:54:25 -04:00
parent 2d9805afe5
commit 3887b1e296

View File

@ -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]))