Replace Function logAction() with logAudit()

This commit is contained in:
johnnyq
2026-07-14 17:35:23 -04:00
parent 29a0b3ead8
commit f1836c70cd
109 changed files with 663 additions and 663 deletions

View File

@@ -20,8 +20,8 @@ if (!empty($api_key_decrypt_password) && !empty($name) && !(empty($password))) {
$insert_id = mysqli_insert_id($mysqli);
// Logging
logAction("Credential", "Create", "$name via API ($api_key_name)", $client_id, $insert_id);
logAction("API", "Success", "Created credential $name via API ($api_key_name)", $client_id);
logAudit("Credential", "Create", "$name via API ($api_key_name)", $client_id, $insert_id);
logAudit("API", "Success", "Created credential $name via API ($api_key_name)", $client_id);
}
}