I need to verify user password. When user want to change the password, They must enter current password first and then if the password is correct we proceed to changing password. I was searching JS SDK since I will use this code in cloud code. I found verifyPassword method in UserController
And I found a pull request. But when I try to run verifyPassword method, I got error:
Parse.User.verifyPassword is not a function
Is this method removed? if so, How can I verify password?
Ok. I tried my code in cloud code(Parse server 4.3.0) And It returned user object when password is correct and It throwed error when wrong password applied. I guess problem is related to Parse dashboard. I guess JS Console doesnt support all functionalities o JS SDK yet.
There is such a long time that we do not release a new version of parse dashboard and it is still using an old version of parse sdk that does not have the function implemented yet. It should work in the master version and also in the next release.