diff options
author | Byron Jones <bjones@mozilla.com> | 2011-12-06 00:40:06 +0800 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2011-12-06 00:40:06 +0800 |
commit | 848da716b1624bd53d7ab18dde22b09b2a0163b9 (patch) | |
tree | 3308e1363c98375c1ab1ddc25222667dc5a9be02 | |
parent | 70e3e0dbe5bd209ccf555fc1f17fc5839352d115 (diff) | |
download | bugs-848da716b1624bd53d7ab18dde22b09b2a0163b9.tar bugs-848da716b1624bd53d7ab18dde22b09b2a0163b9.tar.gz bugs-848da716b1624bd53d7ab18dde22b09b2a0163b9.tar.bz2 bugs-848da716b1624bd53d7ab18dde22b09b2a0163b9.tar.xz bugs-848da716b1624bd53d7ab18dde22b09b2a0163b9.zip |
Bug 707594: Fix broken account lockout notifications
r=LpSolit, a=LpSolit
-rw-r--r-- | Bugzilla/Auth.pm | 3 |
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, |