Reinstate Basic Auth fallback disabled for testing.

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
This commit is contained in:
Andrew McMillan 2011-04-03 21:36:13 +12:00
parent aaa0908b1a
commit 48f83e7c92

View File

@ -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();
}