fix: browser context on password-change history, plain settings errors, New password label

Found in the browser check: change-password history rows had no browser
or IP, settings errors named internal fields, and the dialog's new
password field read just "Password".

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-11-30 14:52:15 +08:00
1 parent 091503a820
commit dd9bbbe036
10 files changed
+69 -10

No files matched your search

@@ -13,12 +13,14 @@ export function PasswordFields(props: {
disabled?: boolean;
passwordError?: string;
confirmError?: string;
/** i18n key for the first field's label; "Password" by default. */
passwordLabel?: string;
}) {
const t = useT();
return (
<>
<div className="space-y-1.5">
<Label htmlFor="user-password">{t("Password")}</Label>
<Label htmlFor="user-password">{t(props.passwordLabel ?? "Password")}</Label>
<Input
id="user-password"
type="password"