38 global $dolibarr_auto_user;
40 dol_syslog(
"functions_forceuser::check_user_password_forceuser");
42 $login = $dolibarr_auto_user;
47 if ($_SESSION[
"dol_loginmesg"]) {
51 dol_syslog(
"functions_forceuser::check_user_password_forceuser ok. forced user = ".$login);
dol_syslog($message, $level=LOG_INFO, $ident=0, $suffixinfilename='', $restricttologhandler='', $logcontext=null)
Write log message into outputs.
check_user_password_forceuser($usertotest, $passwordtotest, $entitytotest)
Check validity of user/password/entity If test is ko, reason must be filled into $_SESSION["dol_login...