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

Merge pull request #1677 from guerinaxel/patch-6

LDAP Authentication faulty
parents 29545d80 cc0d91bf
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)
$login='';
$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
$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