diff --git a/phpgwapi/inc/class.auth_http.inc.php b/phpgwapi/inc/class.auth_http.inc.php index 2e267b52fa..3df8e10874 100644 --- a/phpgwapi/inc/class.auth_http.inc.php +++ b/phpgwapi/inc/class.auth_http.inc.php @@ -30,7 +30,7 @@ function authenticate($username, $passwd) { - if (isset($GLOBALS['PHP_AUTH_USER'])) + if (isset($_SERVER['PHP_AUTH_USER'])) { return True; }