Skip to contentSkip to conversation

conga/luci/homebase validate_user_add.js

Cluster-devel [email protected] 1 participant 1 message Feb 5, 2008

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2008-02-05 20:53:22

Modified files:
luci/homebase : validate_user_add.js

Log message:
Bump the minimum password length to 6, to match what luci_admin requires

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/validate_user_add.js.diff?cvsroot=cluster&r1=1.6&r2=1.7

luci/homebase/validate_user_add.js +2 -2
@@ -34,8 +34,8 @@
 		if (str_is_blank(form.newPassword.value)) {
 			errors.push('Passwords may not be blank.');
 			set_form_err(form.newPassword);
-		} else if (form.newPassword.value.length < 5) {
-			errors.push('Passwords must be at least five characters long.');
+		} else if (form.newPassword.value.length < 6) {
+			errors.push('Passwords must be@least six characters long.');
 			set_form_err(form.newPassword);
 		}