typo
This commit is contained in:
parent
1dcb3e80c4
commit
237b141738
2
main.go
2
main.go
|
@ -350,7 +350,7 @@ func SendAlertEmail(username, recipient, message string) bool {
|
|||
Activity: message,
|
||||
}
|
||||
var body bytes.Buffer
|
||||
err := c.Templates.Registration.Execute(&body, data)
|
||||
err := c.Templates.Alert.Execute(&body, data)
|
||||
if err != nil {
|
||||
log.Printf("scsusers.sendAlertEmail: Alert template failed to execute: %v returned %s\n", data, err.Error())
|
||||
return false
|
||||
|
|
Loading…
Reference in New Issue