mirror of
https://github.com/openziti/zrok.git
synced 2024-12-22 23:02:52 +01:00
accidental hard-coded email sender address, corrected
This commit is contained in:
parent
84af5be304
commit
01b43c6b74
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user