summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_openvpn_csc.php
diff options
context:
space:
mode:
authorMatthew Grooms <mgrooms@pfsense.org>2008-08-27 22:05:26 +0000
committerMatthew Grooms <mgrooms@pfsense.org>2008-08-27 22:05:26 +0000
commit872d919581ec033c4856006d59b3fda9bf391167 (patch)
treefd78f71d66b8a062fca26579343ea8388f98615c /usr/local/www/vpn_openvpn_csc.php
parent61dda8f7e7fbe6f6ae2c03d9a16f5214f9cb3cf5 (diff)
downloadpfsense-872d919581ec033c4856006d59b3fda9bf391167.zip
pfsense-872d919581ec033c4856006d59b3fda9bf391167.tar.gz
Correctly validate required input fields for OpenVPN screens.
Diffstat (limited to 'usr/local/www/vpn_openvpn_csc.php')
-rw-r--r--usr/local/www/vpn_openvpn_csc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/vpn_openvpn_csc.php b/usr/local/www/vpn_openvpn_csc.php
index 1469d4e..d016005 100644
--- a/usr/local/www/vpn_openvpn_csc.php
+++ b/usr/local/www/vpn_openvpn_csc.php
@@ -158,8 +158,8 @@ if ($_POST) {
$input_errors[] = "The field 'NetBIOS Data Distribution Server #1' must contain a valid IP address";
}
- $reqfields[] = 'common_name';
- $reqfieldsn[] = 'Common name';
+ $reqdfields[] = 'common_name';
+ $reqdfieldsn[] = 'Common name';
do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors);
OpenPOWER on IntegriCloud