aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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,