includes/sessions.php
changeset 174 4c5c2b66a34d
parent 156 edbff85d43e8
child 178 4c19952406db
child 188 b4aaca42c8a4
--- a/includes/sessions.php	Sat Oct 06 20:47:09 2007 -0400
+++ b/includes/sessions.php	Sun Oct 07 08:39:40 2007 -0400
@@ -585,7 +585,7 @@
     $this->sql('SELECT password,old_encryption,user_id,user_level,theme,style,temp_password,temp_password_time FROM '.table_prefix.'users WHERE lcase(username)=\''.$db_username_lower.'\' OR username=\'' . $db_username . '\';');
     if($db->numrows() < 1)
     {
-      return "The username and/or password is incorrect.\n$db->latest_query";
+      return "The username and/or password is incorrect.";
       // This wasn't logged in <1.0.2, dunno how it slipped through
       if($level > USER_LEVEL_MEMBER)
         $this->sql('INSERT INTO '.table_prefix.'logs(log_type,action,time_id,date_string,author,edit_summary,page_text) VALUES(\'security\', \'admin_auth_bad\', '.time().', \''.date('d M Y h:i a').'\', \''.$db->escape($username).'\', \''.$db->escape($_SERVER['REMOTE_ADDR']).'\', ' . intval($level) . ')');