From c34e3d1b86e1a1f318e9cf0df575bbdbc92db7bf Mon Sep 17 00:00:00 2001 From: kkalev Date: Wed, 13 Nov 2002 13:12:21 +0000 Subject: [PATCH] Also show server:port in the user test page (so that it shows when used for server checks) --- Changelog | 1 + htdocs/user_test.php3 | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Changelog b/Changelog index 1f32be3..32301a1 100644 --- a/Changelog +++ b/Changelog @@ -11,6 +11,7 @@ Ver 1.61: * When searching a user in ldap through the find page only try to find the users which have a uid attribute (username) * Allow selecting a specific access server in the failed logins page * In the user admin page use AcctStartTime not AcctStopTime when calculating usage for the last 7 days +* Also show server:port in the user test page (so that it shows when used for server checks) Ver 1.60: * Use require_once when including lib/functions.php3 in lib/sql * In the buttons toolbar Edit User should not be clickable. diff --git a/htdocs/user_test.php3 b/htdocs/user_test.php3 index 177716e..60b99ee 100644 --- a/htdocs/user_test.php3 +++ b/htdocs/user_test.php3 @@ -95,7 +95,8 @@ if ($test_user == 1){ } $reply = file($tmp_file); unlink($tmp_file); - $msg = "" . strftime('%A, %e %B %Y, %T %Z') . "

\n"; + $msg = "" . strftime('%A, %e %B %Y, %T %Z') . "
\n"; + $msg .= "Server: $server:$port

\n"; if (ereg('code 2', $reply[0])) $msg .= "Authentication was successful"; else if (ereg('code 3',$reply[0])) -- 2.39.5