Skip to content

Commit

Permalink
Use native php-ldap function
Browse files Browse the repository at this point in the history
  • Loading branch information
coudot committed Jul 18, 2024
1 parent a5f5048 commit a7ab893
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/checkpassword.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

if( !$result ) {

$bind = \Ltb\PhpLDAP::ldap_bind($ldap, $dn, $password);
$bind = ldap_bind($ldap, $dn, $password);
$result = $bind ? "passwordok" : "ldaperror";
}

Expand Down

0 comments on commit a7ab893

Please sign in to comment.