summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2011-12-05 17:42:00 +0100
committerByron Jones <bjones@mozilla.com>2011-12-05 17:42:00 +0100
commit199a6eb7a3600dfbd962c1e2a4a4f677b126262e (patch)
treea7bba65d4927410d962ebeb67bdb7f1954094536
parentb40ecc2e16d7140f99062418a5fa70d70d1b10f0 (diff)
downloadbugzilla-199a6eb7a3600dfbd962c1e2a4a4f677b126262e.tar.gz
bugzilla-199a6eb7a3600dfbd962c1e2a4a4f677b126262e.tar.xz
Bug 707594: Fix broken account lockout notifications
r=LpSolit, a=LpSolit
-rw-r--r--Bugzilla/Auth.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/Auth.pm b/Bugzilla/Auth.pm
index 9ee5ec7fa..45034e166 100644
--- a/Bugzilla/Auth.pm
+++ b/Bugzilla/Auth.pm
@@ -213,7 +213,8 @@ sub _handle_login_result {
# account, but just an email address. So we use the
# installation's default language for sending the email.
my $default_settings = Bugzilla::User::Setting::get_defaults();
- my $template = Bugzilla->template_inner($default_settings->{lang});
+ my $template = Bugzilla->template_inner(
+ $default_settings->{lang}->{default_value});
my $vars = {
locked_user => $user,
attempts => $attempts,