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
illegal_bug_status_transition => 123,
# Authentication errors are usually 300-400.
- invalid_username_or_password => 300,
+ invalid_login_or_password => 300,
account_disabled => 301,
auth_invalid_email => 302,
extern_id_conflict => -303,
Either you misspelled it, or the person has not
registered for a [% terms.Bugzilla %] account.
- [% ELSIF error == "invalid_username_or_password" %]
- [% title = "Invalid Username Or Password" %]
- The username or password you entered is not valid.
+ [% ELSIF error == "invalid_login_or_password" %]
+ [% title = "Invalid Login Or Password" %]
+ The login or password you entered is not valid.
[%# People get two login attempts before being warned about
# being locked out.
#%]