From 48f83e7c92bfa4706f147bf89ca88f1125e36546 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Sun, 3 Apr 2011 21:36:13 +1200 Subject: [PATCH] Reinstate Basic Auth fallback disabled for testing. Signed-off-by: Andrew McMillan --- inc/HTTPAuthSession.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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(); }