diff --git a/pkg/server/handlers/auth.go b/pkg/server/handlers/auth.go index c7820703..d6b00a7b 100644 --- a/pkg/server/handlers/auth.go +++ b/pkg/server/handlers/auth.go @@ -137,7 +137,7 @@ func (a *App) createResetToken(w http.ResponseWriter, r *http.Request) { HandleError(w, errors.Wrap(err, "executing reset password email template").Error(), nil, http.StatusInternalServerError) } - if err := a.EmailBackend.Queue("Reset your password", "sung@getdnote.com", []string{params.Email}, "text/html", body); err != nil { + if err := a.EmailBackend.Queue("Reset your password", "sung@getdnote.com", []string{params.Email}, "text/plain", body); err != nil { HandleError(w, errors.Wrap(err, "queueing email").Error(), nil, http.StatusInternalServerError) } }