mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-14 00:50:13 +00:00
Probably a smidgin more efficient this way around.
This commit is contained in:
parent
329f8b51dc
commit
45eb571c15
@ -53,7 +53,7 @@ class HTTPAuthSession {
|
||||
if ( ! empty($_SERVER['PHP_AUTH_DIGEST'])) {
|
||||
$this->DigestAuthSession();
|
||||
}
|
||||
else if ( isset($_SERVER["AUTHORIZATION"]) || isset($_SERVER['PHP_AUTH_USER']) ) {
|
||||
else if ( isset($_SERVER['PHP_AUTH_USER']) || isset($_SERVER["AUTHORIZATION"]) ) {
|
||||
$this->BasicAuthSession();
|
||||
}
|
||||
else if ( isset($c->http_auth_mode) && $c->http_auth_mode == "Digest" ) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user