Skip to content
Snippets Groups Projects
Commit 14918c38 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

parents 9706e232 69c518a4
No related branches found
No related tags found
No related merge requests found
...@@ -55,7 +55,7 @@ function check_user_password_ldap($usertotest,$passwordtotest,$entitytotest) ...@@ -55,7 +55,7 @@ function check_user_password_ldap($usertotest,$passwordtotest,$entitytotest)
$login=''; $login='';
$resultFetchUser=''; $resultFetchUser='';
if (! empty($_POST["username"])) if (!empty($_POST["username"]) || $usertotest)
{ {
// If test username/password asked, we define $test=false and $login var if ok, set $_SESSION["dol_loginmesg"] if ko // If test username/password asked, we define $test=false and $login var if ok, set $_SESSION["dol_loginmesg"] if ko
$ldaphost=$dolibarr_main_auth_ldap_host; $ldaphost=$dolibarr_main_auth_ldap_host;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment