From a199439d769a4cb9096ce15087c34afcf5615004 Mon Sep 17 00:00:00 2001 From: AIIrondev Date: Sat, 27 Jun 2026 17:20:46 +0200 Subject: [PATCH] slight fix --- Web/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Web/app.py b/Web/app.py index 7ce7c23..4cba537 100755 --- a/Web/app.py +++ b/Web/app.py @@ -388,7 +388,7 @@ ALLOWED_COVER_DOMAINS = { "www.googleapis.com" } -SENSITIVE_AUDIT_FIELDS = ["email", "username", "full_name", "phone"] +SENSITIVE_AUDIT_FIELDS = ["email", "username", "full_name", "phone", "borrower", "ip"] # Apply the configuration for general use throughout the app APP_VERSION = __version__ @@ -8101,7 +8101,7 @@ def admin_audit_export_pdf_official(): ]) ) - audit_rows = list(db['audit_log'].find(...).sort('chain_index', -1).limit(limit)) + audit_rows = list(db['audit_log'].find({}).sort('chain_index', -1).limit(limit)) # DEC_START: Decrypt sensitive fields for the PDF report for row in audit_rows: