From 5af71dfc9449a58f1c9598115fce15476d0f0930 Mon Sep 17 00:00:00 2001 From: Untone Date: Fri, 5 Jan 2024 16:44:37 +0300 Subject: [PATCH] template-names-fix --- server/email/mailgun.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/email/mailgun.go b/server/email/mailgun.go index fb989b4..33f4863 100644 --- a/server/email/mailgun.go +++ b/server/email/mailgun.go @@ -68,9 +68,9 @@ func SendMailgun(to []string, event string, data map[string]interface{}) error { switch event { case constants.VerificationTypeBasicAuthSignup: - template = "email_confirmation" + template = "email_confirmation_ru" case constants.VerificationTypeForgotPassword: - template = "reset_password" + template = "password_reset" case constants.VerificationTypeInviteMember: template = "author_invited" case constants.VerificationTypeMagicLinkLogin: