mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Select "No Authentication" for a portal zone by default, since it is the default behavior, but the GUI requires a value to be set. Fixes #7591
This commit is contained in:
parent
bc07c19263
commit
d80812af5d
@ -685,13 +685,13 @@ $form->add($section);
|
||||
$section = new Form_Section('Authentication');
|
||||
$section->addClass('Authentication');
|
||||
|
||||
$group = new Form_Group('*Authentication method');
|
||||
$group = new Form_Group('*Authentication Method');
|
||||
|
||||
$group->add(new Form_Checkbox(
|
||||
'auth_method',
|
||||
null,
|
||||
'No Authentication',
|
||||
$pconfig['auth_method'] == 'none',
|
||||
$pconfig['auth_method'] == 'none' || empty($pconfig['auth_method']),
|
||||
'none'
|
||||
))->displayasRadio();
|
||||
|
||||
@ -711,6 +711,8 @@ $group->add(new Form_Checkbox(
|
||||
'radius'
|
||||
))->displayasRadio();
|
||||
|
||||
$group->setHelp('Select an Authentication Method to use for this zone. One method must be selected.');
|
||||
|
||||
$section->add($group);
|
||||
|
||||
$section->addInput(new Form_Checkbox(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user