mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-29 18:26:05 +00:00
Ensure that we have a default auth mode.
This commit is contained in:
parent
b42f3d4aef
commit
1d1f987233
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user