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

Apply 1 suggestion(s) to 1 file(s)

parent c8e741d4
Pipeline #2057 canceled with stages
in 2 minutes and 48 seconds
......@@ -484,7 +484,7 @@ func sendPasswordResetEmail(tokenFactory otp.TokenFactory, templatemail *sendmai
}
// 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