templates-fix
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user