This commit is contained in:
Your Name 2020-07-23 18:18:55 -04:00
parent 1dcb3e80c4
commit 237b141738
1 changed files with 1 additions and 1 deletions

View File

@ -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