Skip to content

Commit

Permalink
Fix call to auditlog method (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
coudot committed Aug 21, 2024
1 parent 342ee73 commit 5677a70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion htdocs/checkpassword.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
}

if ($audit_log_file) {
auditlog($audit_log_file, $dn, $audit_admin, "checkpassword", $result);
auditlog($audit_log_file, $dn, $audit_admin, "checkpassword", $result, NULL);
}

header('Location: index.php?page=display&dn='.$dn.'&checkpasswordresult='.$result);
2 changes: 1 addition & 1 deletion htdocs/resetpassword.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
}

if ($audit_log_file) {
auditlog($audit_log_file, $dn, $audit_admin, "resetpassword", $result);
auditlog($audit_log_file, $dn, $audit_admin, "resetpassword", $result, NULL);
}

$location = 'index.php?page=display&dn='.$dn.'&resetpasswordresult='.$result;
Expand Down

0 comments on commit 5677a70

Please sign in to comment.