]> git.entuzijast.net Git - freeradius-dialup-admin.git/commitdiff
Fix a bug in the failed logins page
authorkkalev <kkalev>
Tue, 10 Sep 2002 07:41:54 +0000 (07:41 +0000)
committerkkalev <kkalev>
Tue, 10 Sep 2002 07:41:54 +0000 (07:41 +0000)
Changelog
htdocs/failed_logins.php3

index a047b05988395f43ad19a9e7a0013ff0bb095593..b715c524c1265abc53158b9159aefb8e43569f78 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -52,6 +52,7 @@ Ver 1.59:
   write to a slower master.
 * Fix a few more bugs
 * Add a failed logins page, to show the most recent failed logins.
+* Fix a bug in the failed logins page
 Ver 1.55:
 * Update the FAQ about missing attributes from the user/group edit pages and add a few comments
   in the configuration files
index 34ce66111447c5e6aef89aa25b6ed42965cdb713..482345162bf3c3a39a4c0e05533a86f39d8af9ee 100644 (file)
@@ -84,9 +84,9 @@ if ($link){
        "SELECT AcctStartTime,UserName,NASIPAddress,NASPortId,AcctTerminateCause,CallingStationId
        FROM $config[sql_accounting_table]
        WHERE AcctStartTime <= '$now_str' AND AcctStartTime >= '$prev_str'
-       AND AcctTerminateCause LIKE 'Login-Incorrect%' OR
+       AND (AcctTerminateCause LIKE 'Login-Incorrect%' OR
        AcctTerminateCause LIKE 'Invalid-User%' OR
-       AcctTerminateCause LIKE 'Multiple-Logins%' $callerid_str
+       AcctTerminateCause LIKE 'Multiple-Logins%') $callerid_str
        ORDER BY AcctStartTime $order $limit;");
        if ($search){
                while( $row = @da_sql_fetch_array($search,$config) ){