This commit is contained in:
rustdesk 2023-01-10 15:01:46 +08:00
parent b0deea57f6
commit 50d9396743
2 changed files with 2 additions and 2 deletions

View File

@ -73,8 +73,7 @@ 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(),
"password={}",
hbb_common::password_security::temporary_password()
);
handle_hash(self.lc.clone(), &pass, hash, self, peer).await;

View File

@ -91,6 +91,7 @@ fn main() {
let token = LocalConfig::get_option("access_token");
cli::connect_test(p, key, token);
} else if let Some(p) = matches.value_of("server") {
log::info!("id={}", hbb_common::config::Config::get_id());
crate::start_server(true);
}
common::global_clean();