src/user.js
function(code, password) {
        var json = { password: password };
        var request = AVRequest(
          'resetPasswordBySmsCode',
          null,
          code,
          'PUT',
          json
        );
        return request;
      }
function(code, password) {
        var json = { password: password };
        var request = AVRequest(
          'resetPasswordBySmsCode',
          null,
          code,
          'PUT',
          json
        );
        return request;
      }
function ( code , password ) { var json = { password : password } ; var request = AVRequest ( 'resetPasswordBySmsCode' , null , code , 'PUT' , json ) ; return request ; }
Makes a call to reset user's account password by sms code and new password.
The sms code is sent by AV.User.requestPasswordResetBySmsCode.
@param {String} code The sms code sent by AV.User.Cloud.requestSmsCode
@param {String} password The new password.
@return {Promise} A promise that will be resolved with the result
of the function.
Makes a call to reset user s account password by sms code and new password . The sms code is sent by AV . User . requestPasswordResetBySmsCode .