From 40d71c98c6b0be85edefadde2ba665bc4c42482e Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Mon, 19 Jan 2026 14:32:06 +0800 Subject: 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> --- src-tauri/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src-tauri/src') 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)); -- cgit v1.2.3-70-g09d2