Commit a39ba1dc authored by Julien Schröter's avatar Julien Schröter

Show actual username as receiver name when sending email confirmation

parent 8d718c0d
Pipeline #2131 passed with stage
in 4 minutes and 34 seconds
1.2.0-preview
\ No newline at end of file
1.2.1-preview
......@@ -463,7 +463,7 @@ func sendRegistrationVerification(tokenFactory otp.TokenFactory, templatemail *s
}
// Send email
if err = templatemail.Send(mail.Address{Name: "username", Address: email}, struct {
if err = templatemail.Send(mail.Address{Name: username, Address: email}, struct {
Username string
Token string
}{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment