chore: autocomplete user info

This commit is contained in:
jialin
2026-03-17 16:35:55 +08:00
committed by jialin
parent ed4be2328f
commit e72cacc4b2
5 changed files with 9 additions and 2 deletions
@@ -94,6 +94,7 @@ const LocalUserForm: React.FC<LocalUserFormProps> = (props) => {
]}
>
<SealInput.Input
autoComplete="username"
label={intl.formatMessage({ id: 'common.form.username' })}
prefix={<UserOutlined />}
/>
@@ -114,6 +115,7 @@ const LocalUserForm: React.FC<LocalUserFormProps> = (props) => {
]}
>
<SealInput.Password
autoComplete="current-password"
prefix={<LockOutlined />}
label={intl.formatMessage({ id: 'common.form.password' })}
/>
@@ -89,6 +89,7 @@ const PasswordForm: React.FC = () => {
]}
>
<SealInput.Password
autoComplete="new-password"
prefix={<LockOutlined />}
label={intl.formatMessage({ id: 'users.form.newpassword' })}
/>
@@ -118,6 +119,7 @@ const PasswordForm: React.FC = () => {
]}
>
<SealInput.Password
autoComplete="new-password"
prefix={<LockOutlined />}
label={intl.formatMessage({ id: 'users.password.confirm' })}
/>