From 7a0e9eeb430dd9a4a2f37731bb0c9d693be49a52 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Wed, 21 Oct 2015 09:29:04 +0000 Subject: [PATCH] (legacy) remove empty parameter --- src/etc/inc/ipsec.auth-user.php | 2 +- src/etc/inc/openvpn.auth-user.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/etc/inc/ipsec.auth-user.php b/src/etc/inc/ipsec.auth-user.php index cd5e74a96..aeba36488 100755 --- a/src/etc/inc/ipsec.auth-user.php +++ b/src/etc/inc/ipsec.auth-user.php @@ -242,7 +242,7 @@ foreach ($authmodes as $authmode) { if (!$authcfg && $authmode != "local") continue; - $authenticated = authenticate_user($username, $password, $authcfg, $attributes); + $authenticated = authenticate_user($username, $password, $authcfg); if ($authenticated == true) { if (stristr($authmode, "local")) { $user = getUserEntry($username); diff --git a/src/etc/inc/openvpn.auth-user.php b/src/etc/inc/openvpn.auth-user.php index f27863276..f8f36d856 100644 --- a/src/etc/inc/openvpn.auth-user.php +++ b/src/etc/inc/openvpn.auth-user.php @@ -249,7 +249,7 @@ foreach ($authmodes as $authmode) { if (!$authcfg && $authmode != "local") continue; - $authenticated = authenticate_user($username, $password, $authcfg, $attributes); + $authenticated = authenticate_user($username, $password, $authcfg); if ($authenticated == true) break; }