wrong template
This commit is contained in:
parent
58d6209a61
commit
fc10a22bde
|
@ -101,7 +101,7 @@ func SendRecoveryEmail(recipient, username, code string) bool {
|
|||
RecoveryCode: code,
|
||||
}
|
||||
var body bytes.Buffer
|
||||
err := c.Templates.Registration.Execute(&body, data)
|
||||
err := c.Templates.Recovery.Execute(&body, data)
|
||||
if err != nil {
|
||||
log.Printf("scsusers.sendRecoveryEmail: Recovery template failed to execute: %v returned %s\n", data, err.Error())
|
||||
return false
|
||||
|
|
Loading…
Reference in New Issue