From 01b43c6b74d14792d0b186a68c16e880acd81809 Mon Sep 17 00:00:00 2001 From: Michael Quigley Date: Fri, 11 Nov 2022 10:50:17 -0500 Subject: [PATCH] accidental hard-coded email sender address, corrected --- controller/verify_email.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/verify_email.go b/controller/verify_email.go index bef9a11a..0e0d2fa2 100644 --- a/controller/verify_email.go +++ b/controller/verify_email.go @@ -30,7 +30,7 @@ func sendVerificationEmail(emailAddress, token string) error { } msg := mail.NewMsg() - if err := msg.From("ziggy@zrok.io"); err != nil { + if err := msg.From(cfg.Registration.EmailFrom); err != nil { return errors.Wrap(err, "failed to set from address in verification email") } if err := msg.To(emailAddress); err != nil {