template-names-fix
This commit is contained in:
parent
dd4b41674a
commit
5af71dfc94
|
@ -68,9 +68,9 @@ func SendMailgun(to []string, event string, data map[string]interface{}) error {
|
||||||
|
|
||||||
switch event {
|
switch event {
|
||||||
case constants.VerificationTypeBasicAuthSignup:
|
case constants.VerificationTypeBasicAuthSignup:
|
||||||
template = "email_confirmation"
|
template = "email_confirmation_ru"
|
||||||
case constants.VerificationTypeForgotPassword:
|
case constants.VerificationTypeForgotPassword:
|
||||||
template = "reset_password"
|
template = "password_reset"
|
||||||
case constants.VerificationTypeInviteMember:
|
case constants.VerificationTypeInviteMember:
|
||||||
template = "author_invited"
|
template = "author_invited"
|
||||||
case constants.VerificationTypeMagicLinkLogin:
|
case constants.VerificationTypeMagicLinkLogin:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user