Skip to content

Commit

Permalink
(proxy) fix non local auth
Browse files Browse the repository at this point in the history
  • Loading branch information
AdSchellevis committed Dec 19, 2015
1 parent 1400ea7 commit 187d7ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/etc/inc/squid.auth-user.php
Expand Up @@ -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');
}
Expand Down

0 comments on commit 187d7ee

Please sign in to comment.