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