kopia lustrzana https://github.com/backface/turtlestitch
commit
cdd6d3e06f
10
cloud.js
10
cloud.js
|
|
@ -313,6 +313,16 @@ Cloud.prototype.changePassword = function (
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Cloud.prototype.resetPassword = function (username, onSuccess, onError) {
|
||||||
|
this.request(
|
||||||
|
'POST',
|
||||||
|
'/users/' + username + '/resetpassword',
|
||||||
|
onSuccess,
|
||||||
|
onError,
|
||||||
|
'Password reset request failed'
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
// Projects
|
// Projects
|
||||||
|
|
||||||
Cloud.prototype.saveProject = function (ide, onSuccess, onError) {
|
Cloud.prototype.saveProject = function (ide, onSuccess, onError) {
|
||||||
|
|
|
||||||
Ładowanie…
Reference in New Issue