summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_openvpn_client.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-10-28 09:55:42 -0400
committerjim-p <jimp@pfsense.org>2010-10-28 09:56:41 -0400
commit5e58efd06a17e01b1764de878d1e9bbfd75aac25 (patch)
tree094917975844ea4445a9bd7d07a716754de87a6d /usr/local/www/vpn_openvpn_client.php
parentda51f26cd355b575ac430a59cc5a6c8600a4d1fe (diff)
downloadpfsense-5e58efd06a17e01b1764de878d1e9bbfd75aac25.zip
pfsense-5e58efd06a17e01b1764de878d1e9bbfd75aac25.tar.gz
Fix this logic.
Diffstat (limited to 'usr/local/www/vpn_openvpn_client.php')
-rw-r--r--usr/local/www/vpn_openvpn_client.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/vpn_openvpn_client.php b/usr/local/www/vpn_openvpn_client.php
index 3678138..4faf9ce 100644
--- a/usr/local/www/vpn_openvpn_client.php
+++ b/usr/local/www/vpn_openvpn_client.php
@@ -630,7 +630,7 @@ function autotls_change() {
$caname = "";
$inuse = "";
$revoked = "";
- if (in_array($cert['refid'], $config['system']['user'][$userid]['cert']))
+ if (is_user_cert($cert['refid']))
continue;
$ca = lookup_ca($cert['caref']);
if ($ca)
OpenPOWER on IntegriCloud