summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Auth.pm
diff options
context:
space:
mode:
authortinajohnson.1234@gmail.com <>2013-11-06 00:26:45 +0100
committerDave Lawrence <dlawrence@mozilla.com>2013-11-06 00:26:45 +0100
commitd8d3c0edd90267e23e4910fe550df4604a5ad75b (patch)
tree8c3a0e59035ec29519dbe444cdda8269b9466b31 /Bugzilla/Auth.pm
parent5189d82750da1b7d336bedf21927970feac0ee17 (diff)
downloadbugzilla-d8d3c0edd90267e23e4910fe550df4604a5ad75b.tar.gz
bugzilla-d8d3c0edd90267e23e4910fe550df4604a5ad75b.tar.xz
Bug 931765 - When you enter your login or password wrong, the error message shown "The username or password you entered is not valid" should be edited to "The login or password you entered is not valid"
r=dkl,a=sgreen
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 c46e554a3..4e766cf0b 100644
--- a/Bugzilla/Auth.pm
+++ b/Bugzilla/Auth.pm
@@ -178,7 +178,7 @@ sub _handle_login_result {
elsif ($fail_code == AUTH_LOGINFAILED or $fail_code == AUTH_NO_SUCH_USER) {
my $remaining_attempts = MAX_LOGIN_ATTEMPTS
- ($result->{failure_count} || 0);
- ThrowUserError("invalid_username_or_password",
+ ThrowUserError("invalid_login_or_password",
{ remaining => $remaining_attempts });
}
# The account may be disabled