From eb811e3f740a51b09e0c78e18f92f4fd2eb68951 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Martin?= Date: Wed, 23 Jul 2025 23:06:10 +0200 Subject: [PATCH] Make wording of form fields in Register consistent with the login The login form says username and password and should be consistently used throughout. --- ui/src/user/Register.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/src/user/Register.tsx b/ui/src/user/Register.tsx index 9a11abf..f261593 100644 --- a/ui/src/user/Register.tsx +++ b/ui/src/user/Register.tsx @@ -49,7 +49,7 @@ export default class RegistrationDialog extends Component { 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 { 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 { ? passPresent ? '' : 'password is required' - : 'name is required' + : 'username is required' }>