Commit 848da716 authored by Byron Jones's avatar Byron Jones

Bug 707594: Fix broken account lockout notifications

r=LpSolit, a=LpSolit
parent 70e3e0db
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment