From 27692c85feed62d21ae21f143e67eaee6b723477 Mon Sep 17 00:00:00 2001 From: kkalev Date: Fri, 16 Jan 2004 14:47:29 +0000 Subject: [PATCH] * Add a message when adding a user in the badusers table * Close sql connections in add_badusers.php3 --- Changelog | 2 ++ lib/add_badusers.php3 | 3 +++ 2 files changed, 5 insertions(+) diff --git a/Changelog b/Changelog index 14f3e63..6e6bfc3 100644 --- a/Changelog +++ b/Changelog @@ -4,6 +4,8 @@ Ver 1.68: * Small fix in user_finger.php3 * Add the ability to erase rows from the badusers table * In log_badlogins for multiple logins if it is a mppp attempt, log it +* Add a message when adding a user in the badusers table +* Close sql connections in add_badusers.php3 Ver 1.65: * Add a captions.conf file with a few configurable captions for now * Move the nas list to a separate file called naslist.conf diff --git a/lib/add_badusers.php3 b/lib/add_badusers.php3 index e458fed..83bbde5 100644 --- a/lib/add_badusers.php3 +++ b/lib/add_badusers.php3 @@ -27,6 +27,9 @@ else{ VALUES ('$login','$date','$admin','$msg');"); if (!$r) echo "SQL Error:" . da_sql_error($link,$config) . "
\n"; + else + echo "User added to badusers table
\n"; + da_sql_close($link,$config); } else echo "SQL Error: Could not connect to SQL database: $server
\n"; -- 2.39.5