Fixed an error where we were still checking for null passwords (an unsupported feature)
This commit is contained in:
parent
b2d27837ac
commit
cb1eb98501
@ -33,9 +33,8 @@ function verifyInput() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var password = document.forms["userForm"]["password"].value;
|
var password = document.forms["userForm"]["password"].value;
|
||||||
|
// Ensure the password is at least 6 characters in length
|
||||||
// Ensure the password (if enabled) is at least 6 characters in length
|
if (password.length < 6) {
|
||||||
if (!(document.getElementById("none").checked) && password.length < 6) {
|
|
||||||
alert ("Password must have a minimum length of 6 characters.");
|
alert ("Password must have a minimum length of 6 characters.");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user