user edit: increase minimum length for new passwords to 8 characters

This follows current NIST recommendations and only impacts new
passwords. We rolled out similar changes in pve-manager [0] and the
installer [1] already.

[0]: https://git.proxmox.com/?p=pve-manager.git;a=commit;h=421f03779a3cf04fc15c3efdb6ae99197a858e7d
[1]: https://git.proxmox.com/?p=pve-installer.git;a=log;h=2be676622e57c9c57caf2765dc4d5e3d64b7ccc7

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
 [TL: commit message style nits and add slightly more context]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Maximiliano Sandoval 2025-02-26 13:20:00 +01:00 committed by Thomas Lamprecht
parent ca9dfbf3ee
commit d1cf7b2fb2

View File

@ -47,7 +47,7 @@ Ext.define('PMG.UserEdit', {
xtype: 'textfield',
inputType: 'password',
fieldLabel: gettext('Password'),
minLength: 5,
minLength: 8,
allowBlank: false,
name: 'password',
listeners: {