3
0

Fix access to auth email templates (switch to service user)

This commit is contained in:
Denis Arh
2021-07-27 16:28:34 +02:00
parent 00ba60e557
commit fcec5d7ec7
2 changed files with 11 additions and 6 deletions

View File

@@ -40,12 +40,12 @@ func migrateEmailTemplates(ctx context.Context, log *zap.Logger, s store.Storer)
},
"auth.mail.email-confirmation.subject.en": {
Type: "text/plain",
Handle: "auth_email_confirmation_subject",
Handle: "auth_email_confirm_subject",
Meta: types.TemplateMeta{Short: "Password reset subject"},
},
"auth.mail.email-confirmation.body.en": {
Type: "text/html",
Handle: "auth_email_confirmation_body",
Handle: "auth_email_confirm_body",
Meta: types.TemplateMeta{Short: "Password reset content"},
},
"auth.mail.password-reset.subject.en": {