fix failure to get_active_username in non-EN windows

This commit is contained in:
rustdesk
2021-04-07 22:16:54 +08:00
parent 8873bce514
commit 0503a4d5b6
2 changed files with 10 additions and 9 deletions

View File

@@ -1582,7 +1582,7 @@ impl Interface for Handler {
pi_sciter.set_item("sas_enabled", pi.sas_enabled);
if self.is_file_transfer() {
if pi.username.is_empty() {
self.on_error("No active console user logged on, please connect and logon first.");
self.on_error("No active user logged on, please connect and logon first.");
return;
}
} else if !self.is_port_forward() {