Make wording of form fields in AddEditUserDialog consistent with the login

The login form says username and password and should be consistently used throughout.
This commit is contained in:
François Martin 2025-07-23 22:57:27 +02:00 committed by GitHub
parent e3f2696f31
commit fc84fb3c8b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -53,7 +53,7 @@ export default class AddEditDialog extends Component<IProps, IState> {
autoFocus
margin="dense"
className="name"
label="Name *"
label="Username *"
value={name}
name="username"
id="username"
@ -66,7 +66,7 @@ export default class AddEditDialog extends Component<IProps, IState> {
type="password"
value={pass}
fullWidth
label={isEdit ? 'Pass (empty if no change)' : 'Pass *'}
label={isEdit ? 'Password (empty if no change)' : 'Password *'}
name="password"
id="password"
onChange={this.handleChange.bind(this, 'pass')}
@ -92,7 +92,7 @@ export default class AddEditDialog extends Component<IProps, IState> {
? passPresent
? ''
: 'password is required'
: 'name is required'
: 'username is required'
}>
<div>
<Button