Ensure that we have a default auth mode.

This commit is contained in:
Andrew McMillan 2007-10-25 15:20:18 +13:00
parent b42f3d4aef
commit 1d1f987233

View File

@ -50,7 +50,7 @@ class HTTPAuthSession {
function HTTPAuthSession() {
global $c;
if ( $c->http_auth_mode == "Digest" ) {
if ( isset($c->http_auth_mode) && $c->http_auth_mode == "Digest" ) {
$this->DigestAuthSession();
}
else {