Redact password login messages
This commit is contained in:
parent
94a86b93ad
commit
cc0c355c9a
|
@ -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