dolibarr 20.0.0
functions_empty.php File Reference

Empty authentication functions for test. More...

Go to the source code of this file.

Functions

 check_user_password_empty ($usertotest, $passwordtotest, $entitytotest)
 Check validity of user/password/entity If test is ko, reason must be filled into $_SESSION["dol_loginmesg"].
 

Detailed Description

Empty authentication functions for test.

Definition in file functions_empty.php.

Function Documentation

◆ check_user_password_empty()

check_user_password_empty ( $usertotest,
$passwordtotest,
$entitytotest )

Check validity of user/password/entity If test is ko, reason must be filled into $_SESSION["dol_loginmesg"].

Parameters
string$usertotestLogin
string$passwordtotestPassword
int$entitytotestNumber of instance (always 1 if module multicompany not enabled)
Returns
string Login if OK, '' if KO

Definition at line 34 of file functions_empty.php.

References dol_syslog().