forked from fair/matrix-puppeteer-line
Redact password login messages
This commit is contained in:
parent
e072d4709c
commit
2e07a480c9
|
@ -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]))
|
||||||
|
|
Loading…
Reference in New Issue