Commit 187d7ee0 authored by Ad Schellevis's avatar Ad Schellevis

(proxy) fix non local auth

parent 1400ea76
...@@ -43,9 +43,9 @@ while ($line = fgets($f)) { ...@@ -43,9 +43,9 @@ while ($line = fgets($f)) {
$isAuthenticated = false; $isAuthenticated = false;
if (isset($config['OPNsense']['proxy']['forward']['authentication']['method'])) { 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)); $authServer = $authFactory->get(trim($authServerName));
if ($authsrv == null) { if ($authServer == null) {
// authenticator not found, use local // authenticator not found, use local
$authServer = $authFactory->get('Local Database'); $authServer = $authFactory->get('Local Database');
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment