Help with reset password on server

I am currently trying to build a reset password functionality for my Meteor React Native application. I was able to send the email through a method that calls Accounts.sendResetPasswordEmail() but for the reset password completion, I cannot use Accounts.resetPassword() because it is client only. Is there any other way of doing this or is there a function that I couldnt find that replaces Accounts.resetPassword() in the server?

If you check the Accounts.resetPassword() code, it is calling this method

1 Like

Thank you for this, until this point I didnt know that I could call these methods directly but it worked perfectly.