mirror of
https://github.com/webmin/webmin.git
synced 2025-07-20 16:48:46 +00:00
Fix to always default to fast mode
https://github.com/webmin/webmin/issues/2458#issuecomment-2818513756
This commit is contained in:
@ -124,14 +124,14 @@ if ($access{'forcefast'}) {
|
||||
: $s->{'fast'});
|
||||
}
|
||||
else {
|
||||
if ($in{'new'} || $s->{'fast'} == 2) {
|
||||
if (($in{'new'} && $config{'deffast'} != 1) || $s->{'fast'} == 2) {
|
||||
print &ui_table_row($text{'edit_fast'},
|
||||
&ui_radio("fast", $config{'deffast'},
|
||||
[ [ 1, $text{'yes'} ],
|
||||
[ 2, $text{'edit_auto'} ],
|
||||
[ 0, $text{'no'} ] ]));
|
||||
}
|
||||
else {
|
||||
elsif (!$in{'new'} && $s->{'fast'} != 1) {
|
||||
print &ui_table_row($text{'edit_fast'},
|
||||
&ui_radio("fast", int($s->{'fast'}),
|
||||
[ [ 1, $text{'yes'} ],
|
||||
|
@ -98,7 +98,7 @@ else {
|
||||
$serv->{'checkssl'} = $in{'checkssl'};
|
||||
$serv->{'desc'} = $in{'desc_def'} ? undef : $in{'desc'};
|
||||
$serv->{'group'} = join("\t", @groups);
|
||||
$serv->{'fast'} = $in{'fast'};
|
||||
$serv->{'fast'} = $in{'fast'} // 1;
|
||||
delete($serv->{'user'});
|
||||
delete($serv->{'pass'});
|
||||
delete($serv->{'autouser'});
|
||||
|
Reference in New Issue
Block a user