Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new Ajax.Request("/identity/safetyquestions", {
- onComplete: function (x) {
- appkey = $$("head")[0].innerHTML.match(/token" content="(.+)"/)[0].split(/"/)[2];
- urlToken = x.responseText.match(/urlToken" value="(.+)"/)[0].split(/"/)[2];
- new Ajax.Request("/identity/safetylock_disable", {
- parameters: "__app_key=" + appkey + "¤tPassword=SENHAAKI&urlToken= " + urlToken,
- onComplete: function (check) {
- if (check.responseText.match(/error-message/)) {
- alert("Senha Incorreta!");
- }
- }
- })
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement