Remove logging comments as its implied in admin also if returning 1 field for logging use getFieldById Function

This commit is contained in:
johnnyq
2025-08-01 18:08:02 -04:00
parent 012b0f1a77
commit fae7e76721
19 changed files with 31 additions and 80 deletions

View File

@@ -192,10 +192,8 @@ if (isset($_POST['backup_master_key'])) {
if (password_verify($password, $row['user_password'])) {
$site_encryption_master_key = decryptUserSpecificKey($row['user_specific_encryption_ciphertext'], $password);
// Logging
logAction("Master Key", "Download", "$session_name retrieved the master encryption key");
// App Notify
appNotify("Master Key", "$session_name retrieved the master encryption key");
echo "==============================";
@@ -204,7 +202,6 @@ if (isset($_POST['backup_master_key'])) {
echo "<br>==============================";
} else {
// Log the failure
logAction("Master Key", "Download", "$session_name attempted to retrieve the master encryption key but failed");
flash_alert("Incorrect password.", 'error');