From 629271fdce2c5183aa34b791ecbed38d948d25a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Martin?= Date: Wed, 23 Jul 2025 23:20:43 +0200 Subject: [PATCH] Add autocomplete fields to registration This ensures password managers can properly save the form field's values. --- ui/src/user/Register.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/src/user/Register.tsx b/ui/src/user/Register.tsx index f261593..7e0dfa4 100644 --- a/ui/src/user/Register.tsx +++ b/ui/src/user/Register.tsx @@ -52,6 +52,7 @@ export default class RegistrationDialog extends Component { label="Username *" name="username" value={name} + autoComplete="username" onChange={this.handleChange.bind(this, 'name')} fullWidth /> @@ -64,6 +65,7 @@ export default class RegistrationDialog extends Component { fullWidth label="Password *" name="password" + autoComplete="new-password" onChange={this.handleChange.bind(this, 'pass')} />