Skip to content

Commit

Permalink
ltb-project#126: Fixing method call get_attribute_values.
Browse files Browse the repository at this point in the history
  • Loading branch information
abpai94 committed Aug 26, 2024
1 parent e377dda commit ce04d8f
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 @@ -31,7 +31,7 @@
$result = $ldap_connection[1];

if ($use_checkpasswordhistory) {
$hashed_password_history = $ldapInstance->get_attribute_value($dn, "pwdHistory");
$hashed_password_history = $ldapInstance->get_attribute_values($dn, "pwdHistory");
foreach ($hashed_password_history as $hashed_password) {
preg_match("/(?<={).*(?=})/", $hashed_password, $algorithm);
preg_match("/{(?<={).*/", $hashed_password, $password_hash);
Expand Down

0 comments on commit ce04d8f

Please sign in to comment.