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;
|
||||
|
||||
// Ensure the password (if enabled) is at least 6 characters in length
|
||||
if (!(document.getElementById("none").checked) && password.length < 6) {
|
||||
// Ensure the password is at least 6 characters in length
|
||||
if (password.length < 6) {
|
||||
alert ("Password must have a minimum length of 6 characters.");
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user