[pmg-devel] [PATCH] fix #4818: Allow usernames shorter than 4 characters

Gabriel Goller g.goller at proxmox.com
Fri Jan 19 10:43:34 CET 2024


Align behavior with pve/pbs and allow usernames shorter
than 4 characters.

Signed-off-by: Gabriel Goller <g.goller at proxmox.com>
---
 js/UserEdit.js | 1 -
 1 file changed, 1 deletion(-)

diff --git a/js/UserEdit.js b/js/UserEdit.js
index e212530..bd94686 100644
--- a/js/UserEdit.js
+++ b/js/UserEdit.js
@@ -38,7 +38,6 @@ Ext.define('PMG.UserEdit', {
 		fieldLabel: gettext('User name'),
 		renderer: Ext.htmlEncode,
 		allowBlank: false,
-		minLength: 4,
 		cbind: {
 		    submitValue: '{isCreate}',
 		    xtype: '{useridXType}',
-- 
2.43.0





More information about the pmg-devel mailing list