mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-29 18:26:05 +00:00
Reinstate Basic Auth fallback disabled for testing.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
This commit is contained in:
parent
aaa0908b1a
commit
48f83e7c92
@ -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();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user