Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- forgottenPassword = function( email, onSuccess, onError ) {
- jQuery.ajax( {
- url : GS_FORGOT_PASSWORD,
- type : "POST",
- data : '{ "mail" : "'+ email +'" }',
- //data : { "mail" : email },
- success : function( response ) { onSuccess( response ); },
- error : function( response ) { onError( response ); }
- } );
- }
- forgottenPassword = function( email, onSuccess, onError ) {
- jQuery.ajax( {
- url : GS_FORGOT_PASSWORD,
- type : "POST",
- //data : '{ "mail" : "'+ email +'" }',
- data : { "mail" : email },
- success : function( response ) { onSuccess( response ); },
- error : function( response ) { onError( response ); }
- } );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement