mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Fix user test
This commit is contained in:
@@ -183,7 +183,7 @@ if ($user eq "*") {
|
||||
}
|
||||
|
||||
# Switch to given user
|
||||
if (&webmin_user_is_admin()) {
|
||||
if ($user eq "root") {
|
||||
my $username = $in{'user'};
|
||||
if ($username) {
|
||||
my @uinfo = getpwnam($username);
|
||||
|
||||
Reference in New Issue
Block a user