diff --git a/inc/HTTPAuthSession.php b/inc/HTTPAuthSession.php index 3fc3aeeb..97f697a7 100644 --- a/inc/HTTPAuthSession.php +++ b/inc/HTTPAuthSession.php @@ -53,9 +53,9 @@ class HTTPAuthSession { if ( ! empty($_SERVER['PHP_AUTH_DIGEST'])) { $this->DigestAuthSession(); } -// else if ( isset($_SERVER["AUTHORIZATION"]) || isset($_SERVER['PHP_AUTH_USER']) ) { -// $this->BasicAuthSession(); -// } + else if ( isset($_SERVER["AUTHORIZATION"]) || isset($_SERVER['PHP_AUTH_USER']) ) { + $this->BasicAuthSession(); + } else if ( isset($c->http_auth_mode) && $c->http_auth_mode == "Digest" ) { $this->DigestAuthSession(); }