Quote:
I have provided the correct paramaters (username, newPassword, confirmPassword).
According to
the documentation[
^], the parameters are:
username
,
currentPassword
,
newPassword
.
You need to pass the user's current password as the second parameter. You are currently passing the user's new password as the second parameter. Since the new password doesn't match the current password, the attempt to change the password fails.