includes/sessions.php
changeset 1176 5c98b9f181f0
parent 1175 1e2c9819ede3
child 1205 c922ef08167a
child 1317 6012710ae538
--- a/includes/sessions.php	Fri Dec 18 19:06:49 2009 -0500
+++ b/includes/sessions.php	Fri Dec 18 19:17:18 2009 -0500
@@ -866,7 +866,7 @@
       {
         $ipaddr = $db->escape($_SERVER['REMOTE_ADDR']);
         // increment fail count
-        $this->sql('INSERT INTO '.table_prefix.'lockout(ipaddr, timestamp, action) VALUES(\'' . $ipaddr . '\', ' . time() . ', \'credential\', \'' . $db->escape($username) . '\');');
+        $this->sql('INSERT INTO '.table_prefix.'lockout(ipaddr, timestamp, action, username) VALUES(\'' . $ipaddr . '\', ' . time() . ', \'credential\', \'' . $db->escape($username) . '\');');
       }
         
       return array(