From 187d7ee09fa7403a8d513e21a430c2cb36180f59 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Sat, 19 Dec 2015 09:58:58 +0100 Subject: [PATCH] (proxy) fix non local auth --- src/etc/inc/squid.auth-user.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/etc/inc/squid.auth-user.php b/src/etc/inc/squid.auth-user.php index 3895c44439b..c01e8199cb9 100755 --- a/src/etc/inc/squid.auth-user.php +++ b/src/etc/inc/squid.auth-user.php @@ -43,9 +43,9 @@ $isAuthenticated = false; if (isset($config['OPNsense']['proxy']['forward']['authentication']['method'])) { - foreach (explode(',',$config['OPNsense']['proxy']['forward']['authentication']['method']) as $authServerName) { + foreach (explode(',', $config['OPNsense']['proxy']['forward']['authentication']['method']) as $authServerName) { $authServer = $authFactory->get(trim($authServerName)); - if ($authsrv == null) { + if ($authServer == null) { // authenticator not found, use local $authServer = $authFactory->get('Local Database'); }