mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-07-27 12:59:54 +00:00
Formatting.
This commit is contained in:
parent
113a974799
commit
3067f367d2
@ -112,10 +112,10 @@ class HTTPAuthSession {
|
||||
else if ( isset($c->authenticate_hook['server_auth_type'])
|
||||
&& isset($_SERVER["REMOTE_USER"]) && !empty($_SERVER["REMOTE_USER"])) {
|
||||
if ( ( is_array($c->authenticate_hook['server_auth_type'])
|
||||
&& in_array($_SERVER['AUTH_TYPE'], $c->authenticate_hook['server_auth_type']) )
|
||||
&& in_array($_SERVER['AUTH_TYPE'], $c->authenticate_hook['server_auth_type']) )
|
||||
||
|
||||
( !is_array($c->authenticate_hook['server_auth_type'])
|
||||
&& $c->authenticate_hook['server_auth_type'] == $_SERVER['AUTH_TYPE'] )
|
||||
&& $c->authenticate_hook['server_auth_type'] == $_SERVER['AUTH_TYPE'] )
|
||||
) {
|
||||
/**
|
||||
* The authentication has happened in the server, and we should accept it.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user