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
1 changed files with 1 additions and 0 deletions

View File

@ -119,6 +119,7 @@ async def login_email(evt: CommandEvent) -> None:
return
if not await login_prep(evt, "email"):
return
await evt.reply("Logging in...")
gen = evt.sender.client.login(
evt.sender,
login_data=dict(email=evt.args[0], password=evt.args[1]))