id for cli

This commit is contained in:
rustdesk 2023-01-10 14:41:25 +08:00
parent 367de991f6
commit b0deea57f6

View File

@ -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;
}