From f5be2bcf38cdaf8d4b01b3b7394424140ef75fb8 Mon Sep 17 00:00:00 2001 From: Auroter Date: Tue, 1 Nov 2022 17:14:07 -0700 Subject: [PATCH] update email URL with unprotected endpoint --- pkg/service/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/service/user.go b/pkg/service/user.go index 58f1d79c..49279e7d 100644 --- a/pkg/service/user.go +++ b/pkg/service/user.go @@ -199,7 +199,7 @@ func (u user) Authenticate(request UserRequest) error { subject := "String Email Authentication" to := mail.NewEmail("New String User", email) textContent := "Click the link below to complete your e-mail authentication!" - htmlContent := "

Verify Email Now
" + htmlContent := "

Verify Email Now
" message := mail.NewSingleEmail(from, subject, to, textContent, htmlContent) client := sendgrid.NewSendClient(os.Getenv("SENDGRID_API_KEY")) _, err = client.Send(message)