summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-04-26 17:08:05 -0400
committerjim-p <jimp@pfsense.org>2011-04-26 17:08:05 -0400
commitc41997ce79555da60f44f4896b972a07bdc2d9e6 (patch)
tree161aff359c262254e584ee4cedc88d903df8e8ff /usr
parent7100a85c321c94e8438e7e25a2c923864b604758 (diff)
downloadpfsense-c41997ce79555da60f44f4896b972a07bdc2d9e6.zip
pfsense-c41997ce79555da60f44f4896b972a07bdc2d9e6.tar.gz
Allow users to select SSL/TLS+User Auth with external authentication sources.
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/vpn_openvpn_server.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/usr/local/www/vpn_openvpn_server.php b/usr/local/www/vpn_openvpn_server.php
index 204cb62..4577673 100644
--- a/usr/local/www/vpn_openvpn_server.php
+++ b/usr/local/www/vpn_openvpn_server.php
@@ -199,13 +199,6 @@ if ($_POST) {
else
$tls_mode = false;
- if (!empty($pconfig['authmode'])) {
- foreach ($pconfig['authmode'] as $pauthmode) {
- if ($pauthmode != "Local Database" && $pconfig['mode'] == "server_tls_user")
- $input_errors[] = gettext("Only 'Local authentication database' is allowed with") . " " . $openvpn_server_modes[$pconfig['mode']];
- }
- }
-
if (empty($pconfig['authmode']) && (($pconfig['mode'] == "server_user") || ($pconfig['mode'] == "server_tls_user")))
$input_errors[] = gettext("You must select a Backend for Authentication if the server mode requires User Auth.");
OpenPOWER on IntegriCloud