Advertisement
Fabriciool

desblock account

Aug 29th, 2013
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. new Ajax.Request("/identity/safetyquestions", {
  2.         onComplete: function (x) {
  3.             appkey = $$("head")[0].innerHTML.match(/token" content="(.+)"/)[0].split(/"/)[2];
  4.             urlToken = x.responseText.match(/urlToken" value="(.+)"/)[0].split(/"/)[2];
  5.             new Ajax.Request("/identity/safetylock_disable", {
  6.                 parameters: "__app_key=" + appkey + "&currentPassword=SENHAAKI&urlToken= " + urlToken,
  7.                 onComplete: function (check) {
  8.                     if (check.responseText.match(/error-message/)) {
  9.                     alert("Senha Incorreta!");
  10.                     }
  11.                 }
  12.             })
  13.         }
  14.     });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement