Skip to content

Commit

Permalink
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into d…
Browse files Browse the repository at this point in the history
…evelop
  • Loading branch information
eldy committed Jun 20, 2014
2 parents 9706e23 + 69c518a commit 14918c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/core/login/functions_ldap.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -228,4 +228,4 @@ function check_user_password_ldap($usertotest,$passwordtotest,$entitytotest)
}


?>
?>

0 comments on commit 14918c3

Please sign in to comment.