User gets an Tokenised URL to his EMAIL reset password. URL is sent from Server side. Now when User hits URL, he is navigated to Reset password screes at CLIENT side.
When user enter password , and click Reset button. I am Calling "Reset password" method present at server side using meter.call(). I want to pass Token and new password to that function as input. how can i get that token which was generated at Server side to Client side.
Present i am getting this error : Token Undefined
Meteor.call, you can useAccounts.resetPasswordon the client side. - aedmAccounts.resetPassword(token, pass);withoutMeteor.call. See: docs.meteor.com/api/passwords.html#Accounts-resetPassword - aedmAccounts.resetPassworddoes it for you. - aedm