From 64684e1248f89a570ef927d2e3a44b7c02f571b7 Mon Sep 17 00:00:00 2001 From: wrongecho Date: Sun, 8 Sep 2024 22:52:38 +0100 Subject: [PATCH] Enforce CSRF for post/asset and post/account Tiny bit of tidying --- account_add_modal.php | 2 ++ account_edit_modal.php | 1 + accounts.php | 2 +- admin_bulk_mail.php | 1 + admin_mail_queue.php | 1 + client_asset_add_modal.php | 2 +- client_asset_copy_modal.php | 1 + client_asset_details.php | 2 +- client_asset_edit_modal.php | 1 + client_asset_export_modal.php | 5 +++-- client_asset_import_modal.php | 1 + client_asset_interface_add_modal.php | 2 +- client_asset_interface_edit_modal.php | 2 +- client_asset_transfer_modal.php | 2 ++ client_assets.php | 12 +++++++----- client_contact_details.php | 4 ++-- client_contacts.php | 1 + client_documents.php | 1 + client_files.php | 1 + client_locations.php | 1 + client_logins.php | 1 + client_vendors.php | 1 + expenses.php | 2 ++ post/account.php | 4 ++++ post/asset.php | 20 ++++++++++++++++++-- post/custom_field.php | 2 -- products.php | 1 + report_assets.php | 8 +++++--- tickets.php | 1 + 29 files changed, 64 insertions(+), 21 deletions(-) diff --git a/account_add_modal.php b/account_add_modal.php index 08df7019..dfc7bccf 100644 --- a/account_add_modal.php +++ b/account_add_modal.php @@ -8,6 +8,8 @@
+ +