Hi! I'm tryng to use changePassword function, but it returns eresult: 8 It doesn't works, or I just use it wrong? Thanks. There is the sample code which I use:
client.requestPasswordChangeEmail(password, function(err) {
console.log("Req: "+ err);
var rl = require('readline').createInterface({
"input": process.stdin,
"output": process.stdout
});
rl.question('Code: ', function(code) {
client.changePassword(password, newpassword, code, function(err) { console.log(err);} );
console.log(code);
rl.close();
});
});