Enhance password input fields in EditNodeDialog and RegisterNodeDialog
CI / Backend (build + test) (push) Successful in 3m29s
CI / Frontend (lint + typecheck + build) (push) Successful in 31s

- Added `autoComplete="new-password"` attribute to password input fields in both dialogs to improve security and user experience during password entry.
This commit is contained in:
Leonid Pershin
2026-07-02 16:20:12 +03:00
parent ff13583a62
commit 0d0fc2c86b
2 changed files with 15 additions and 2 deletions
@@ -64,7 +64,13 @@ export function EditNodeDialog({ node, open, onOpenChange }: { node: NodeDto; op
<Label htmlFor="editPassword">
{t('admin.nodes.password')} ({t('admin.nodes.optional')})
</Label>
<Input id="editPassword" type="password" value={password} onChange={(e) => setPassword(e.target.value)} />
<Input
id="editPassword"
type="password"
autoComplete="new-password"
value={password}
onChange={(e) => setPassword(e.target.value)}
/>
</div>
<Button type="submit" disabled={!name.trim() || mutation.isPending}>
{t('admin.roles.save')}