fix: locale-independent code upper-casing; refresh note

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
This commit is contained in:
ngqileandClaude Opus 5.5 committed 2026-12-01 16:40:50 +08:00
1 parent 39139ed7b1
commit cbe48c2db9
3 files changed
+3 -3

No files matched your search

@@ -207,7 +207,7 @@ public class AdminAuthController {
if (!StringUtils.hasText(username) || username.contains("@")) {
return null;
}
String code = company == null ? "" : company.trim().toUpperCase();
String code = company == null ? "" : company.trim().toUpperCase(java.util.Locale.ROOT);
return code.isEmpty() ? username.trim() : username.trim() + "@" + code;
}
}