aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src-tauri
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2026-01-19 14:36:47 +0800
committerGitHub <noreply@github.com>2026-01-19 14:36:47 +0800
commit1147aefc0e0c4563d293416949b53d2e815f48cc (patch)
tree28859d0ada0b606d8df17515edbd97478678e039 /src-tauri
parentb5cc2e8a57e4d8302938241677f29b3c801813c8 (diff)
parent40d71c98c6b0be85edefadde2ba665bc4c42482e (diff)
downloadDropOut-1147aefc0e0c4563d293416949b53d2e815f48cc.tar.gz
DropOut-1147aefc0e0c4563d293416949b53d2e815f48cc.zip
Potential fix for code scanning alert no. 3: Cleartext logging of sensitive information (#71)
Diffstat (limited to 'src-tauri')
-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));