From mboxrd@z Thu Jan 1 00:00:00 1970 From: rmccabe@sourceware.org Date: 5 Feb 2008 20:53:22 -0000 Subject: [Cluster-devel] conga/luci/homebase validate_user_add.js Message-ID: <20080205205322.26935.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 --- 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@least six characters long.'); set_form_err(form.newPassword); }