38 dol_syslog(
"functions_http::check_user_password_http _SERVER[REMOTE_USER]=".(empty($_SERVER[
"REMOTE_USER"]) ?
'' : $_SERVER[
"REMOTE_USER"]));
41 if (!empty($_SERVER[
"REMOTE_USER"])) {
42 $login = $_SERVER[
"REMOTE_USER"];
44 require_once DOL_DOCUMENT_ROOT.
'/core/lib/date.lib.php';
82 $encoded_basic_auth = substr($value, 6);
83 $decoded_basic_auth = base64_decode($encoded_basic_auth);
84 $credentials_basic_auth = explode(
':', $decoded_basic_auth);
87 'username'=> $credentials_basic_auth[0],
88 'password' => $credentials_basic_auth[1]