#113 Sending Email for Password Reset | Authentication & Authorization | A Complete NODE JS Course

preview_player
Показать описание
In this lecture, we are going to implement the functionality of sending an email to the user with the reset password link when the user has requested for resetting his password using forgot password route.

Рекомендации по теме
Комментарии
Автор

If the forgot password route ultimately ends up updating a token stored in a user document, why is it not also a patch request?

werkatfischer
Автор

Please i want to ask, when using mailtrap would clients be able to recieve the forgot password link to reset password themselves?

I used brevo but am trying to register a new account its not going as expected, so i need a new email service provider, hence am asking about the mailtrap....in this video he said the emails wouldnt go through to the clients.

I need clafications from those who used this mailtrap..Pease

eguonoimonieroh
Автор

If you guys unable to send link to your email, try to change the port you use. Because that was what happened to me.

deenlb
Автор

I tried setting the validationBeforeSave to false as you did but I keep getting an error message which says that I am passing in an illegal argument to the mongoose save method

jhoncosmos
Автор

i am getting like this post/users/forgetPassword 500 357ms

NaveenReddy-ly