plugins/admin/UserManager.php
changeset 1275 e15d38ae8623
parent 1267 31ff2e5351b0
child 1382 78fbedb876f3
--- a/plugins/admin/UserManager.php	Fri Jul 30 14:39:04 2010 -0400
+++ b/plugins/admin/UserManager.php	Fri Jul 30 14:39:47 2010 -0400
@@ -1267,7 +1267,7 @@
 	}
 	
 	$q = $db->sql_query('SELECT COUNT(id) AS fail_count, ipaddr, username, timestamp FROM ' . table_prefix . "lockout AS l\n"
-								. "  WHERE timestamp > ( " . time() . " - " . intval(getConfig('lockout_duration', 15)) . "*60 ) GROUP BY ipaddr, username, timestamp ORDER BY COUNT(id) DESC, timestamp DESC;");
+								. "  WHERE timestamp > ( " . time() . " - " . intval(getConfig('lockout_duration', 15)) . "*60 ) GROUP BY ipaddr ORDER BY COUNT(id) DESC, timestamp DESC;");
 	if ( !$q )
 		$db->_die();