소스 검색

Redact password after login

Tulir Asokan 2 년 전
부모
커밋
8e827cf187
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      mautrix_instagram/commands/auth.py

+ 1 - 0
mautrix_instagram/commands/auth.py

@@ -71,6 +71,7 @@ async def login(evt: CommandEvent) -> None:
         return
     username = evt.args[0]
     password = " ".join(evt.args[1:])
+    await evt.redact()
     api, state = await get_login_state(evt.sender, evt.config["instagram.device_seed"])
     try:
         resp = await api.login(username, password)