diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2010-10-15 02:10:55 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2010-10-15 02:10:55 +0200 |
commit | fc99fef185a7877acb98613b60586c7f491444db (patch) | |
tree | a018a31b2173cfecc0d4bcd4eafafd95f158c04b /Bugzilla/Auth/Verify | |
parent | e60d388f70533d0efd0632f39aadddcb2590a171 (diff) | |
download | bugzilla-fc99fef185a7877acb98613b60586c7f491444db.tar.gz bugzilla-fc99fef185a7877acb98613b60586c7f491444db.tar.xz |
Bug 604522: t/012throwables.t doesn't catch new user errors correctly
r/a=mkanat
Diffstat (limited to 'Bugzilla/Auth/Verify')
-rw-r--r-- | Bugzilla/Auth/Verify/DB.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Auth/Verify/DB.pm b/Bugzilla/Auth/Verify/DB.pm index c562d1353..2fcfd4017 100644 --- a/Bugzilla/Auth/Verify/DB.pm +++ b/Bugzilla/Auth/Verify/DB.pm @@ -76,8 +76,8 @@ sub check_credentials { # Force the user to type a longer password if it's too short. if (length($password) < USER_PASSWORD_MIN_LENGTH) { - return { failure => AUTH_ERROR, error => 'password_current_too_short', - user_error => 1, details => { locked_user => $user } }; + return { failure => AUTH_ERROR, user_error => 'password_current_too_short', + details => { locked_user => $user } }; } # The user's credentials are okay, so delete any outstanding |