We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5e27b7 commit ff99ebdCopy full SHA for ff99ebd
go-backend/controller/forgetPasswordController.go
@@ -56,18 +56,7 @@ func ProcessForgotPassword(c *fiber.Ctx) error {
56
}
57
58
// encode the token in url (CHANGE THE URL LATER IN PROD)
59
- resetURL := "https://ayushsharma.co.in/reset-pw?" + vals.Encode()
60
-
61
- // DELEGATE THIS TO RABBITMQ
62
- // send the mail to the user with the reset_url
63
- // err = util.ForgotPassword(data.Email, resetURL)
64
- // if err != nil {
65
- // log.Println(err)
66
- // c.Status(501)
67
- // return c.JSON(fiber.Map{
68
- // "error in util.ForgotPassword ": err.Error(),
69
- // })
70
- // }
+ resetURL := "https://gopherblog.ayushsharma.co.in/reset-pw?" + vals.Encode()
71
72
err = rabbit.PublishToQueue(data.Email, resetURL)
73
if err != nil {
0 commit comments