Make wording of form fields in Register 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 23:06:10 +02:00 committed by martinfrancois
parent d5ab795e4c
commit eb811e3f74
1 changed files with 3 additions and 3 deletions

View File

@ -49,7 +49,7 @@ export default class RegistrationDialog extends Component<IProps, IState> {
id="register-username"
margin="dense"
className="name"
label="Name *"
label="Username *"
name="username"
value={name}
onChange={this.handleChange.bind(this, 'name')}
@ -62,7 +62,7 @@ export default class RegistrationDialog extends Component<IProps, IState> {
type="password"
value={pass}
fullWidth
label="Pass *"
label="Password *"
name="password"
onChange={this.handleChange.bind(this, 'pass')}
/>
@ -76,7 +76,7 @@ export default class RegistrationDialog extends Component<IProps, IState> {
? passPresent
? ''
: 'password is required'
: 'name is required'
: 'username is required'
}>
<div>
<Button