Skip to content

Commit

Permalink
Migration of ldap_get_mail_for_notification function
Browse files Browse the repository at this point in the history
  • Loading branch information
coudot committed Jul 12, 2024
1 parent 657f23a commit 8f947aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/resetpassword.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
# Get user DN
$entry = ldap_first_entry($ldap, $search);

$mail = \Ltb\AttributeValue::ldap_get_mail_for_notification($ldap, $entry);
$mail = \Ltb\AttributeValue::ldap_get_mail_for_notification($ldap, $entry, $mail_attributes);
$username_values = ldap_get_values( $ldap, $entry, $mail_username_attribute );
$username = $username_values[0];
if ($mail) {
Expand Down

0 comments on commit 8f947aa

Please sign in to comment.