From 78eead24f711d02d2944848be8f9326446ed58a1 Mon Sep 17 00:00:00 2001 From: Marcus Hill Date: Fri, 30 Aug 2024 22:49:18 +0100 Subject: [PATCH] Log when users navigate to the credentials page for a client --- client_logins.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/client_logins.php b/client_logins.php index ae9753a75..61eeef599 100644 --- a/client_logins.php +++ b/client_logins.php @@ -6,6 +6,9 @@ require_once "inc_all_client.php"; +// Log when users load the Credentials/Logins page +mysqli_query($mysqli,"INSERT INTO logs SET log_type = 'Credential', log_action = 'View', log_description = '$session_name viewed the Credentials page for client', log_ip = '$session_ip', log_user_agent = '$session_user_agent', log_client_id = $client_id, log_user_id = $session_user_id"); + // Location Filter if (isset($_GET['location']) & !empty($_GET['location'])) { @@ -96,7 +99,7 @@
- "> Archived @@ -159,7 +162,7 @@ class="btn btn-"; } $login_uri_2 = nullable_htmlentities($row['login_uri_2']);