summaryrefslogtreecommitdiffstats
path: root/etc/inc/ipsec.auth-user.php
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-02-12 10:12:53 +0100
committerErmal <eri@pfsense.org>2014-02-12 10:13:09 +0100
commit2a3e30575a3bf9eb4d295df97112961aa1d001df (patch)
treeaa33b223f88d1a7db76c187dd08d82445c0b05f6 /etc/inc/ipsec.auth-user.php
parent80d708deb68ac2cfaa9ae8e6dc5a5b8591c1b866 (diff)
downloadpfsense-2a3e30575a3bf9eb4d295df97112961aa1d001df.zip
pfsense-2a3e30575a3bf9eb4d295df97112961aa1d001df.tar.gz
Teach script to read authentication servers from environment
Diffstat (limited to 'etc/inc/ipsec.auth-user.php')
-rwxr-xr-xetc/inc/ipsec.auth-user.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/ipsec.auth-user.php b/etc/inc/ipsec.auth-user.php
index 3865501..1eed958 100755
--- a/etc/inc/ipsec.auth-user.php
+++ b/etc/inc/ipsec.auth-user.php
@@ -91,6 +91,7 @@ if (isset($_GET)) {
$username = getenv("username");
$password = getenv("password");
$common_name = getenv("common_name");
+ $authmodes = explode(",", getenv("authcfg"));
}
if (!$username || !$password) {
OpenPOWER on IntegriCloud