|
dolibarr
13.0.2
|
Authentication functions for Dolibarr mode (check user on login or email and check pass) More...
Go to the source code of this file.
Functions | |
| check_user_password_dolibarr ($usertotest, $passwordtotest, $entitytotest=1) | |
| Check validity of user/password/entity If test is ko, reason must be filled into $_SESSION["dol_loginmesg"]. More... | |
Authentication functions for Dolibarr mode (check user on login or email and check pass)
Definition in file functions_dolibarr.php.
| check_user_password_dolibarr | ( | $usertotest, | |
| $passwordtotest, | |||
$entitytotest = 1 |
|||
| ) |
Check validity of user/password/entity If test is ko, reason must be filled into $_SESSION["dol_loginmesg"].
| string | $usertotest | Login |
| string | $passwordtotest | Password |
| int | $entitytotest | Number of instance (always 1 if module multicompany not enabled) |
Definition at line 36 of file functions_dolibarr.php.
References $resql, dol_get_first_hour(), dol_now(), dol_syslog(), and dol_verifyHash().