X-Git-Url: https://xp-dev.com/git/namibia/blobdiff_plain/c449ac80b48405f72fd700d5cd406397b3a17d8a..d75656fdd5ef8208fd3f1e23f8627917529275c9:/public/js/app/admin-workspace/systemuserview.js diff --git a/public/js/app/admin-workspace/systemuserview.js b/public/js/app/admin-workspace/systemuserview.js index 958e9e6..b167914 100644 --- a/public/js/app/admin-workspace/systemuserview.js +++ b/public/js/app/admin-workspace/systemuserview.js @@ -63,14 +63,16 @@ App.API.getTask( 'PinReset:' + _w.systemuserview.itemId, 'User', 'Profile.ForgotPassword', null, {}, function () { + //( id, data, options, callback, errorCallback, method, direct ) App.API.execTask( 'PinReset:' + _w.systemuserview.itemId, { Reset : { - email : _w.systemuserview.itemData.email + email : _w.systemuserview.itemData.email, + mobile : _w.systemuserview.itemData.mobile } }, {}, function() { - alert('Pin reset successfull.'); + alert('Pin reset successful.'); }, _w.taskExecError ); }, _w.taskContractError