From 3067f367d2424cd2e737072e1067a15a864d10dd Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Tue, 18 Oct 2011 16:40:17 +1300 Subject: [PATCH] Formatting. --- inc/HTTPAuthSession.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/HTTPAuthSession.php b/inc/HTTPAuthSession.php index 0b081712..4bad8fa3 100644 --- a/inc/HTTPAuthSession.php +++ b/inc/HTTPAuthSession.php @@ -112,10 +112,10 @@ class HTTPAuthSession { else if ( isset($c->authenticate_hook['server_auth_type']) && isset($_SERVER["REMOTE_USER"]) && !empty($_SERVER["REMOTE_USER"])) { if ( ( is_array($c->authenticate_hook['server_auth_type']) - && in_array($_SERVER['AUTH_TYPE'], $c->authenticate_hook['server_auth_type']) ) + && in_array($_SERVER['AUTH_TYPE'], $c->authenticate_hook['server_auth_type']) ) || ( !is_array($c->authenticate_hook['server_auth_type']) - && $c->authenticate_hook['server_auth_type'] == $_SERVER['AUTH_TYPE'] ) + && $c->authenticate_hook['server_auth_type'] == $_SERVER['AUTH_TYPE'] ) ) { /** * The authentication has happened in the server, and we should accept it.