diff options
author | Ermal LUÇI <eri@pfsense.org> | 2015-04-16 19:42:26 +0200 |
---|---|---|
committer | Ermal LUÇI <eri@pfsense.org> | 2015-04-16 19:42:26 +0200 |
commit | 2bc08de4e8654ce35d57a91073a99feb5ceb2d19 (patch) | |
tree | f6a14541fa171e75decf1c8fa49da23638990c37 /usr/local | |
parent | 0545a75e4c5a9802ce488c73d66b1e13de846776 (diff) | |
parent | cb377516944e14fcd56ddad6b3963b09a9159d16 (diff) | |
download | pfsense-2bc08de4e8654ce35d57a91073a99feb5ceb2d19.zip pfsense-2bc08de4e8654ce35d57a91073a99feb5ceb2d19.tar.gz |
Merge pull request #1612 from ibauersachs/ipsec-mobile-eap-radius
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/www/vpn_ipsec_phase1.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/local/www/vpn_ipsec_phase1.php b/usr/local/www/vpn_ipsec_phase1.php index 4630828..009582e 100644 --- a/usr/local/www/vpn_ipsec_phase1.php +++ b/usr/local/www/vpn_ipsec_phase1.php @@ -175,6 +175,10 @@ if ($_POST) { if ($pconfig['iketype'] != 'ikev2') $input_errors[] = gettext("EAP-TLS can only be used with IKEv2 type VPNs."); break; + case "eap-radius": + if ($pconfig['iketype'] != 'ikev2') + $input_errors[] = gettext("EAP-RADIUS can only be used with IKEv2 type VPNs."); + break; case "pre_shared_key": // If this is a mobile PSK tunnel the user PSKs go on // the PSK tab, not here, so skip the check. @@ -479,6 +483,7 @@ function methodsel_change() { switch (value) { case 'eap-mschapv2': case 'eap-tls': + case 'eap-radius': document.getElementById('opt_psk').style.display = 'none'; document.getElementById('opt_peerid').style.display = ''; document.getElementById('opt_cert').style.display = ''; |