fix(hostservice): use non uppercase username, respect upper/lowercase for Full Name

This commit is contained in:
Lysec
2026-03-23 10:27:44 +01:00
parent 3eb0fe5608
commit bd474db387
+2 -2
View File
@@ -36,9 +36,9 @@ Singleton {
return realName;
}
// Fallback: capitalized $USER
// Fallback: $USER as-is (login names are case-sensitive on some systems)
if (username && username.length > 0) {
return username.charAt(0).toUpperCase() + username.slice(1);
return username;
}
// Last resort: placeholder