From a96cc13243a6074d5180fd437cf6de3af0daca09 Mon Sep 17 00:00:00 2001 From: John Horne Date: Tue, 5 Sep 2017 12:34:22 +0100 Subject: [PATCH] If required, specify that this is the 'Admin' user - but not the actual login id. --- management.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/management.php b/management.php index 3e660f9aac..97e3e90afd 100644 --- a/management.php +++ b/management.php @@ -165,7 +165,7 @@ function mgt_page($xerte_toolkits_site, $extra) $_SESSION['toolkits_logon_id'] = "site_administrator"; - $msg = "User logged in successfully from " . $_SERVER['REMOTE_ADDR']; + $msg = "Admin user logged in successfully from " . $_SERVER['REMOTE_ADDR']; receive_message("", "SYSTEM", "MGMT", "Successful login", $msg); $mysql_id = database_connect("management.php database connect success", "management.php database connect fail"); @@ -335,7 +335,7 @@ function mgt_page($xerte_toolkits_site, $extra) */ if ($_POST["login"] == $xerte_toolkits_site->admin_username) { - $msg = "User attempted to login from " . $_SERVER['REMOTE_ADDR']; + $msg = "Admin user attempted to login from " . $_SERVER['REMOTE_ADDR']; } else { $uid = (empty($_POST["login"])) ? 'UNKNOWN' : $_POST["login"];