dolibarr  16.0.5
Functions
functions_http.php File Reference

Authentication functions for HTTP Basic. More...

Go to the source code of this file.

Functions

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

Detailed Description

Authentication functions for HTTP Basic.

Definition in file functions_http.php.

Function Documentation

◆ check_user_password_http()

check_user_password_http (   $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_http.php.