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

Show actual username as receiver name when sending email confirmation

parent 96a85ce9
Pipeline #2259 failed with stage
in 2 minutes and 3 seconds
......@@ -493,7 +493,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