1
0
Fork 0
mirror of synced 2024-08-22 13:41:45 +12:00
appwrite/app/sdks/js/docs/examples/auth/recovery-reset.md

13 lines
252 B
Markdown
Raw Normal View History

2019-05-09 18:54:39 +12:00
let sdk = new Appwrite();
sdk
2019-10-02 07:10:33 +13:00
.setProject('')
2019-05-09 18:54:39 +12:00
;
let promise = sdk.auth.recoveryReset('[USER_ID]', '[TOKEN]', 'password', 'password');
promise.then(function (response) {
console.log(response);
}, function (error) {
console.log(error);
});