How to implement reset Password


#1

I want to make an express request calling reset password, something like this on my server side.

app.post('/forget', (req, res, next) => {

  email = req.body.email
  console.log(email)
  userId="zAxNarwAE2AnvPb8P"
 let pass= Accounts.sendResetPasswordEmail(email,userId)
 console.log(pass)
  

})

#2

I think you just need to read the docs / https://docs.meteor.com/api/passwords.html

It’s a long read but everything you need is in there.

Sortof a sucky response I know but not sure there’s any short cuts on this one.