hagopj13 / node-express-boilerplate

A boilerplate for building production-ready RESTful APIs using Node.js, Express, and Mongoose
MIT License
6.66k stars 1.98k forks source link

Updates verify-email to HTTP method GET #254

Open KeenWarrior opened 1 year ago

KeenWarrior commented 1 year ago

The current verify-email HTTP method is set to POST. Which would not work on email link click.

Updates change method to GET and also update sample email content of send verification email to correct path.

chintanshahts commented 12 months ago

@KeenWarrior, I think it will be front-end url. frontend will call the api accordingly. so no changes required.