Add autocomplete fields to registration

This ensures password managers can properly save the form field's values.
This commit is contained in:
François Martin 2025-07-23 23:20:43 +02:00 committed by martinfrancois
parent 9f3bbd888b
commit 629271fdce
1 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,7 @@ export default class RegistrationDialog extends Component<IProps, IState> {
label="Username *"
name="username"
value={name}
autoComplete="username"
onChange={this.handleChange.bind(this, 'name')}
fullWidth
/>
@ -64,6 +65,7 @@ export default class RegistrationDialog extends Component<IProps, IState> {
fullWidth
label="Password *"
name="password"
autoComplete="new-password"
onChange={this.handleChange.bind(this, 'pass')}
/>
</DialogContent>