From 8de7b20ba1e977a5a212c95a735fffa9a26c1636 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Sat, 7 Mar 2026 13:11:08 -0500 Subject: [PATCH] Add CSRF Checks in the client portal --- client/contact_add.php | 4 +-- client/contact_edit.php | 4 +-- client/documents.php | 2 ++ client/post.php | 45 +++++++++++++++++++++++++++++--- client/profile.php | 2 +- client/recurring_invoices.php | 1 + client/saved_payment_methods.php | 3 ++- client/ticket.php | 10 ++++--- client/ticket_add.php | 1 + client/unpaid_invoices.php | 4 +-- 10 files changed, 58 insertions(+), 18 deletions(-) diff --git a/client/contact_add.php b/client/contact_add.php index 0cf023a7..423c2a7c 100644 --- a/client/contact_add.php +++ b/client/contact_add.php @@ -27,9 +27,7 @@ if ($session_contact_primary == 0 && !$session_contact_is_technical_contact) {
- - - +
diff --git a/client/contact_edit.php b/client/contact_edit.php index 9abd5e41..092b5fcb 100644 --- a/client/contact_edit.php +++ b/client/contact_edit.php @@ -57,10 +57,8 @@ if ($row) {
+ - - -
diff --git a/client/documents.php b/client/documents.php index 1ab42840..f87d1603 100644 --- a/client/documents.php +++ b/client/documents.php @@ -90,6 +90,7 @@ $documents_sql = mysqli_query($mysqli, "SELECT document_id, document_name, docum
+