From 2837fe0cecb16baa0d11274a6ee637d58cb3a436 Mon Sep 17 00:00:00 2001 From: kkalev Date: Tue, 10 Sep 2002 07:41:54 +0000 Subject: [PATCH] Fix a bug in the failed logins page --- Changelog | 1 + htdocs/failed_logins.php3 | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Changelog b/Changelog index a047b05..b715c52 100644 --- 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 diff --git a/htdocs/failed_logins.php3 b/htdocs/failed_logins.php3 index 34ce661..4823451 100644 --- a/htdocs/failed_logins.php3 +++ b/htdocs/failed_logins.php3 @@ -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) ){ -- 2.39.5