summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-04-27 20:26:43 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-04-27 20:26:43 +0000
commitf3b53785b15616917f8a756fe9622cac60ce860b (patch)
treea91aac241d6b7ab52ff5696b060dac31c8662d36 /usr/local/www
parent4d2d07b51bbe507a1dbbba3e43311cac4bd0b8a7 (diff)
downloadpfsense-f3b53785b15616917f8a756fe9622cac60ce860b.zip
pfsense-f3b53785b15616917f8a756fe9622cac60ce860b.tar.gz
Reverse if check.
Diffstat (limited to 'usr/local/www')
-rw-r--r--usr/local/www/vpn_openvpn_certs_create.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/vpn_openvpn_certs_create.php b/usr/local/www/vpn_openvpn_certs_create.php
index 8ada49c..bda905f 100644
--- a/usr/local/www/vpn_openvpn_certs_create.php
+++ b/usr/local/www/vpn_openvpn_certs_create.php
@@ -72,7 +72,7 @@ if ($_POST) {
$email = $_POST['email'];
$authmode = $_POST['auth_method'];
- if (!$_POST['caname']) {
+ if ($_POST['caname']) {
$caname = $_POST['caname'];
/* XXX: do more input validation */
OpenPOWER on IntegriCloud