From 2e07a480c934ec5c35b8a84e4fadc487a7285ce6 Mon Sep 17 00:00:00 2001 From: Andrew Ferrazzutti Date: Mon, 15 Feb 2021 19:10:56 -0500 Subject: [PATCH] Redact password login messages --- mautrix_line/commands/auth.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mautrix_line/commands/auth.py b/mautrix_line/commands/auth.py index 28ea2a0..5b12982 100644 --- a/mautrix_line/commands/auth.py +++ b/mautrix_line/commands/auth.py @@ -114,6 +114,7 @@ async def login_email(evt: CommandEvent) -> None: return if not await login_prep(evt, "email"): return + await evt.az.intent.redact(evt.room_id, evt.event_id) gen = evt.sender.client.login( evt.sender, login_data=dict(email=evt.args[0], password=evt.args[1]))