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