id for cli
This commit is contained in:
parent
367de991f6
commit
b0deea57f6
@ -72,6 +72,11 @@ impl Interface for Session {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async fn handle_hash(&mut self, pass: &str, hash: Hash, peer: &mut Stream) {
|
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;
|
handle_hash(self.lc.clone(), &pass, hash, self, peer).await;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user