]> git.entuzijast.net Git - freeradius-dialup-admin.git/commitdiff
* Add a message when adding a user in the badusers table
authorkkalev <kkalev>
Fri, 16 Jan 2004 14:47:29 +0000 (14:47 +0000)
committerkkalev <kkalev>
Fri, 16 Jan 2004 14:47:29 +0000 (14:47 +0000)
* Close sql connections in add_badusers.php3

Changelog
lib/add_badusers.php3

index 14f3e636426d18a82eab263a5aa5a89d28963929..6e6bfc37c543cca13bbf23016456e17c03245f9f 100644 (file)
--- 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
index e458fed36023bac7534ab92dfcad30605e7afa90..83bbde5cad2080405e1680202a2f94f23dad5b8c 100644 (file)
@@ -27,6 +27,9 @@ else{
                        VALUES ('$login','$date','$admin','$msg');");
                        if (!$r)
                                echo "<b>SQL Error:" . da_sql_error($link,$config) . "</b><br>\n";
+                       else
+                               echo "<b>User added to badusers table</b><br>\n";
+                       da_sql_close($link,$config);
                }
                else
                        echo "<b>SQL Error: Could not connect to SQL database: $server</b><br>\n";