mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Fix saving Hybrid RSA + Xauth. Fixes #7258
This commit is contained in:
parent
8b5cf4332a
commit
eb5bc42b04
@ -245,12 +245,13 @@ if ($_POST) {
|
||||
$reqdfieldsn = array(gettext("Pre-Shared Key"));
|
||||
$validate_pskey = true;
|
||||
break;
|
||||
case "hybrid_rsa_server":
|
||||
case "xauth_rsa_server":
|
||||
case "rsasig":
|
||||
$reqdfields = explode(" ", "caref certref");
|
||||
$reqdfieldsn = array(gettext("Certificate Authority"), gettext("Certificate"));
|
||||
break;
|
||||
default:
|
||||
/* Other types do not use this validation mechanism. */
|
||||
}
|
||||
if (!$pconfig['mobile']) {
|
||||
$reqdfields[] = "remotegw";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user