diff --git a/server/email/mailgun.go b/server/email/mailgun.go index 84fd3b5..646ca52 100644 --- a/server/email/mailgun.go +++ b/server/email/mailgun.go @@ -49,13 +49,13 @@ func MailgunRest(to string, data map[string]interface{}, subject string, templat // SendMailgun function to send func SendMailgun(to []string, event string, data map[string]interface{}) error { - template := "email_confirmation" + template := "authorizer_email_confirmation" switch event { case constants.VerificationTypeBasicAuthSignup: - template = "email_confirmation_ru" + template = "authorizer_email_confirmation" case constants.VerificationTypeForgotPassword: - template = "password_reset" + template = "authorizer_password_reset" case constants.VerificationTypeInviteMember: template = "author_invited" case constants.VerificationTypeMagicLinkLogin: