Redact password login messages

This commit is contained in:
Andrew Ferrazzutti 2021-02-15 19:10:56 -05:00
parent e072d4709c
commit 2e07a480c9
1 changed files with 1 additions and 0 deletions

View File

@ -114,6 +114,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.az.intent.redact(evt.room_id, evt.event_id)
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]))