aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2010-10-15 02:10:55 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2010-10-15 02:10:55 +0200
commitfc99fef185a7877acb98613b60586c7f491444db (patch)
treea018a31b2173cfecc0d4bcd4eafafd95f158c04b /Bugzilla/Auth.pm
parentBug 451735 part2: fix bz_drop_index() so that it first drops related FKs befo... (diff)
downloadbugzilla-fc99fef185a7877acb98613b60586c7f491444db.tar.gz
bugzilla-fc99fef185a7877acb98613b60586c7f491444db.tar.bz2
bugzilla-fc99fef185a7877acb98613b60586c7f491444db.zip
Bug 604522: t/012throwables.t doesn't catch new user errors correctly
r/a=mkanat
Diffstat (limited to 'Bugzilla/Auth.pm')
-rw-r--r--Bugzilla/Auth.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Auth.pm b/Bugzilla/Auth.pm
index f289a4ba1..e3f838b39 100644
--- a/Bugzilla/Auth.pm
+++ b/Bugzilla/Auth.pm
@@ -152,7 +152,7 @@ sub _handle_login_result {
}
elsif ($fail_code == AUTH_ERROR) {
if ($result->{user_error}) {
- ThrowUserError($result->{error}, $result->{details});
+ ThrowUserError($result->{user_error}, $result->{details});
}
else {
ThrowCodeError($result->{error}, $result->{details});