diff options
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r-- | perl-install/any.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm index 7ab1ba377..634dbf9f4 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -816,7 +816,7 @@ sub ask_user_and_root { alignment => 'right', format => \&translate }, ), { label => N("Real name"), val => \$u->{realname}, alignment => 'right', focus_out => sub { - $u->{name} ||= Locale::gettext::iconv($u->{realname}, "utf-8", "ascii//TRANSLIT"); + $u->{name} ||= lc(Locale::gettext::iconv($u->{realname}, "utf-8", "ascii//TRANSLIT")); $u->{name} =~ s/[^a-zA-Z0-9_-]//g; # drop any charcter that would break login program } }, |