From 60a0ebeeb6f1c210c8c8f0d2767013d8903095cb Mon Sep 17 00:00:00 2001 From: johnnyq Date: Sat, 9 Nov 2024 13:23:40 -0500 Subject: [PATCH] added domain name in client creation logging --- post/user/client.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/post/user/client.php b/post/user/client.php index 848e2d55..d497b25a 100644 --- a/post/user/client.php +++ b/post/user/client.php @@ -85,7 +85,7 @@ if (isset($_POST['add_client'])) { mysqli_query($mysqli, "INSERT INTO domains SET domain_name = '$website', domain_registrar = 0, domain_webhost = 0, domain_expire = '$expire', domain_ip = '$a', domain_name_servers = '$ns', domain_mail_servers = '$mx', domain_raw_whois = '$whois', domain_client_id = $client_id"); //Extended Logging - $extended_log_description .= ", domain added"; + $extended_log_description .= ", domain $website added"; // Get inserted ID (for linking certificate, if exists) $domain_id = mysqli_insert_id($mysqli); @@ -100,7 +100,7 @@ if (isset($_POST['add_client'])) { mysqli_query($mysqli, "INSERT INTO certificates SET certificate_name = '$website', certificate_domain = '$website', certificate_issued_by = '$issued_by', certificate_expire = '$expire', certificate_public_key = '$public_key', certificate_domain_id = $domain_id, certificate_client_id = $client_id"); //Extended Logging - $extended_log_description .= ", SSL certificate added"; + $extended_log_description .= ", SSL certificate $website added"; } }