I have imported the passport-local-mongoose to my code and I tried to register and log in users and all went successfuly but now I want to change the password of a specific user, how can I do that? I've read the documentation of the passport-local-mongoose and it says you can change your password by using this method
changePassword(oldPassword, newPassword, [cb])
but I don't know how to add that cb field how can I do that?