aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2026-01-19 14:32:06 +0800
committerGitHub <noreply@github.com>2026-01-19 14:32:06 +0800
commit40d71c98c6b0be85edefadde2ba665bc4c42482e (patch)
tree698ee39444bf9525a56a104e726d23011d13700c
parent887e415314014c3da7db3048fa0e724f3078c5cb (diff)
downloadDropOut-40d71c98c6b0be85edefadde2ba665bc4c42482e.tar.gz
DropOut-40d71c98c6b0be85edefadde2ba665bc4c42482e.zip
Potential fix for code scanning alert no. 3: Cleartext logging of sensitive information
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
-rw-r--r--src-tauri/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs
index e4d0a2e..0f1d7a1 100644
--- a/src-tauri/src/main.rs
+++ b/src-tauri/src/main.rs
@@ -118,7 +118,7 @@ async fn start_game(
}
}
- emit_log!(window, format!("Account found: {}", account.username()));
+ emit_log!(window, "Account found".to_string());
let config = config_state.config.lock().unwrap().clone();
emit_log!(window, format!("Java path: {}", config.java_path));