Closed krisbaum74 closed 4 years ago
Hi, @krisbaum74
*note: you won't get new password in response cause security.
Yes and it's still the old password. It doesn't change the password.
Server log from ConnectyCube? No error is thrown
Kris
On Fri, Apr 24, 2020, 4:21 PM ccvlad notifications@github.com wrote:
Hi, @krisbaum74 https://github.com/krisbaum74
- Did you try to login with new password after updating?
- What the log (response from server)?
*note: you won't get new password in response cause security.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ConnectyCube/connectycube-js-sdk-releases/issues/19#issuecomment-618875096, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANXOUQAIP2KOTC7LFGL3GALROFDXPANCNFSM4MPYUOYQ .
I will test the code and let you know
I've tested and code works as expected (I was able to change password and login with new).
Closed due inactivity, please re-open if the issue is still persists.
const updatedUserProfile = { login: userCredentials.login, full_name: fullName, password: password, old_password: oldPassword };
// JS SDK v2 ConnectyCube.users .update(updatedUserProfile) .then(user => { console.log('updated user!!'); console.log(user) }) .catch(error => {});
console gets updated user, and the full name can be updated but the password doesnt change even though oldpassword is same as the one used to login.