[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] conga/luci/homebase validate_user_add.js



CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	rmccabe 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

--- conga/luci/homebase/validate_user_add.js	2008/01/02 20:52:23	1.6
+++ conga/luci/homebase/validate_user_add.js	2008/02/05 20:53:22	1.7
@@ -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 at least six characters long.');
 			set_form_err(form.newPassword);
 		}
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]