1
0
Fork 0
mirror of synced 2024-08-19 04:01:38 +12:00
appwrite/app/sdks/js/docs/examples/auth/recovery-reset.md

14 lines
266 B
Markdown
Raw Normal View History

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