mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Set default value to radius_protocol during upgrade, it should fix #3226
This commit is contained in:
parent
0f0f7b2cbe
commit
2d72659aec
@ -2818,6 +2818,8 @@ function upgrade_082_to_083() {
|
||||
$config['captiveportal']['cpzone'] = array();
|
||||
$config['captiveportal']['cpzone'] = $tmpcp;
|
||||
$config['captiveportal']['cpzone']['zoneid'] = 8000;
|
||||
if ($config['captiveportal']['cpzone']['auth_method'] == "radius")
|
||||
$config['captiveportal']['cpzone']['radius_protocol'] = "PAP";
|
||||
}
|
||||
if (!empty($config['voucher'])) {
|
||||
$tmpcp = $config['voucher'];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user