From: kkalev Date: Fri, 16 Jan 2004 14:47:29 +0000 (+0000) Subject: * Add a message when adding a user in the badusers table X-Git-Url: https://git.entuzijast.net/?a=commitdiff_plain;h=27692c85feed62d21ae21f143e67eaee6b723477;p=freeradius-dialup-admin.git * Add a message when adding a user in the badusers table * Close sql connections in add_badusers.php3 --- 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";