rem: alert(response.error); ajaxAuthLoginInnerSetup(); 
add: if ( response.error == 'The username and/or password is incorrect.' ) { ajax_auth_error_string = response.error; mb_current_obj.updateContent(''); document.getElementById('messageBox').style.backgroundColor = '#C0C0C0'; new Spry.Effect.Shake('messageBox', {duration: 1500}).start(); new Spry.Effect.Shake('messageBoxButtons', {duration: 1500}).start(); setTimeout("document.getElementById('messageBox').style.backgroundColor = '#FFF'; ajaxAuthLoginInnerSetup();", 2500); } else { alert(response.error); ajaxAuthLoginInnerSetup(); } 
context:   ajaxPost(makeUrlNS('Special', 'Login', 'act=ajaxlogin'), 'params=' + json_data, function() {      if ( ajax.readyState == 4 )      {        var response = ajax.responseText;        if ( response.substr(0,1) != '{' )        {          alert('Invalid JSON response from server: ' + response);          ajaxAuthLoginInnerSetup();          return false;        }        response = parseJSON(response);        switch(response.result)        {          case 'success':            if ( typeof(ajax_auth_prompt_cache) == 'function' )            {              ajax_auth_prompt_cache(response.key);            }            break;          case 'success_reset':            var conf = confirm('You have logged in using a temporary password. Before you can log in, you must finish resetting your password. Do you want to reset your real password now?');            if ( conf )            {              var url = makeUrlNS('Special', 'PasswordReset/stage2/' + response.user_id + '/' + response.temppass);              window.location = url;            }            else            {              ajaxAuthLoginInnerSetup();            }            break;          case 'error':            alert(response.error);            ajaxAuthLoginInnerSetup();            break;          default:            alert(ajax.responseText);            break;        }      }    });
meta: 3765	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3765/4858e4c2c52f7a167c5942f736496c1fd569dcaf/misc.js/buggy/includes/clientside/static/misc.js