mirror of
https://github.com/webmin/webmin.git
synced 2025-07-21 23:40:34 +00:00
Fix to always show the field
This commit is contained in:
@ -11,15 +11,9 @@ print &ui_table_row($text{'acl_user'},
|
||||
&ui_opt_textbox("user", $o->{'user'} eq '*' ? undef : $o->{'user'},
|
||||
20, $text{'acl_sameuser'}));
|
||||
|
||||
if ($o->{'user'} eq "*" ||
|
||||
($o->{'user'} eq "root" && $remote_user ne $o->{'user'})) {
|
||||
print &ui_table_row($text{'acl_sudoenforce'},
|
||||
&ui_yesno_radio("sudoenforce",
|
||||
$o->{'sudoenforce'} == 1 ? 1 : 0));
|
||||
}
|
||||
else {
|
||||
print &ui_hidden("sudoenforce", $o->{'sudoenforce'});
|
||||
}
|
||||
print &ui_table_row($text{'acl_sudoenforce'},
|
||||
&ui_yesno_radio("sudoenforce",
|
||||
$o->{'sudoenforce'} == 1 ? 1 : 0));
|
||||
}
|
||||
|
||||
sub acl_security_save
|
||||
|
Reference in New Issue
Block a user