Skip to content

Commit

Permalink
Merge branch 'master' of github.com:webmin/usermin
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed Oct 31, 2024
2 parents 832eb08 + e5b18ab commit acb0771
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion chfn/linux-lib.pl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# linux-lib.pl
# Functions for changing user details on linux
use utf8;

# change_details(realname, office, ophone, hphone, shell)
sub change_details
Expand All @@ -8,7 +9,8 @@ sub change_details
$a =~ s/\\//g;
$a =~ s/'//g;
}
utf8::decode($_[0]) if (!utf8::is_utf8($_[0]));
utf8::decode($_[1]) if (!utf8::is_utf8($_[1]));
local @ruser = getpwnam($remote_user);
local @uinfo = split(/,/, $ruser[6]);
Expand Down

0 comments on commit acb0771

Please sign in to comment.