Skip to content

Commit

Permalink
Fix to detect UI language correcly for Usermin
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Dec 22, 2019
1 parent 92e95ee commit f1da50b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions authentic-init.pm
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ our (@theme_bundle_css,
%in,
%tconfig,
%text,
$base_remote_user,
$config_directory,
$current_lang,
$current_theme,
Expand Down Expand Up @@ -808,7 +807,7 @@ sub get_current_user_language
}

if (($language_browser && !$language) || !$language_browser) {
$language = $gconfig{ 'lang' . '_' . $base_remote_user };
$language = $gconfig{ 'lang' . '_' . $remote_user };
$language = ($language ? $language : $gconfig{'lang'});
}

Expand Down

0 comments on commit f1da50b

Please sign in to comment.