From b0deea57f68a67ecd468f3d8e630808d34f438ef Mon Sep 17 00:00:00 2001 From: rustdesk Date: Tue, 10 Jan 2023 14:41:25 +0800 Subject: [PATCH] id for cli --- src/cli.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/cli.rs b/src/cli.rs index 57d63d397..f8527c99c 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -72,6 +72,11 @@ impl Interface for Session { } async fn handle_hash(&mut self, pass: &str, hash: Hash, peer: &mut Stream) { + log::info!( + "id={}, password={}", + crate::ipc::get_id(), + hbb_common::password_security::temporary_password() + ); handle_hash(self.lc.clone(), &pass, hash, self, peer).await; }