Unverified Commit b622c8bd authored by Sébastien DAVOULT's avatar Sébastien DAVOULT Committed by GitHub

#30 Fixing security issue

parent 14760b34
......@@ -208,7 +208,7 @@ else {
$ldapbind=ldap_bind($ldapconn, $user_location, $mdp);
if($ldapbind && !empty($mdp))
if($ldapbind && !empty($mdp) && !empty($user_location))
$LOGIN=true;
}
// IF NOT A LDAP USER
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment