ac8af503 by Marty Penner

Promoting r266 to live. refs #1268

1 parent 8843a9eb
......@@ -265,7 +265,7 @@ class Validation extends Common\Validation {
throw new Exception('<li>Password can not be blank</li>');
}
if (isset($val[PASS_MAX_LEN + 1])) {
if (isset($val[PASS_MAX_LEN])) {
throw new Exception('<li>Password can not be longer than ' . PASS_MAX_LEN . ' characters.</li>');
}
......