diff options
| author | 2026-01-16 09:49:35 +0800 | |
|---|---|---|
| committer | 2026-01-16 09:49:35 +0800 | |
| commit | 1c00c5051104887ac181a3c1ec87b63c35e7f9bc (patch) | |
| tree | 3041c0a85a33d8fdd62ae952fc050c32ada179e4 | |
| parent | 88d2b67870203acc098ae09e3cc33009c4e6b6ad (diff) | |
| download | DropOut-1c00c5051104887ac181a3c1ec87b63c35e7f9bc.tar.gz DropOut-1c00c5051104887ac181a3c1ec87b63c35e7f9bc.zip | |
fix(security): 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.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index 3671166..b59ae31 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -83,13 +83,9 @@ async fn start_game( .clone() .ok_or("No active account found. Please login first.")?; - let account_type = match &account { - core::auth::Account::Offline(_) => "Offline", - core::auth::Account::Microsoft(_) => "Microsoft", - }; emit_log!( window, - format!("Account found: {} ({})", account.username(), account_type) + format!("Account found: {}", account.username()) ); let config = config_state.config.lock().unwrap().clone(); |