From 086b992c7dea1522a33c332f64bb488ed23f969a Mon Sep 17 00:00:00 2001 From: Gani Georgiev Date: Tue, 26 Jul 2022 15:17:10 +0300 Subject: [PATCH] [#228] added target=_blank to the email links --- mails/templates/admin_password_reset.go | 4 ++-- mails/templates/user_confirm_email_change.go | 4 ++-- mails/templates/user_password_reset.go | 4 ++-- mails/templates/user_verification.go | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/mails/templates/admin_password_reset.go b/mails/templates/admin_password_reset.go index e0d76058..f950ec62 100644 --- a/mails/templates/admin_password_reset.go +++ b/mails/templates/admin_password_reset.go @@ -16,8 +16,8 @@ const AdminPasswordResetBody = `

Follow this link to reset your admin password for {{.AppName}}.

- Reset password - {{.ActionUrl}} + Reset password + {{.ActionUrl}}

If you did not request to reset your password, please ignore this email and the link will expire on its own.

diff --git a/mails/templates/user_confirm_email_change.go b/mails/templates/user_confirm_email_change.go index 98cbbdea..66a7c3aa 100644 --- a/mails/templates/user_confirm_email_change.go +++ b/mails/templates/user_confirm_email_change.go @@ -14,8 +14,8 @@ const UserConfirmEmailChangeBody = `

Hello,

Click on the button below to confirm your new email address.

- Confirm new email - {{.ActionUrl}} + Confirm new email + {{.ActionUrl}}

If you didn’t ask to change your email address, you can ignore this email.

diff --git a/mails/templates/user_password_reset.go b/mails/templates/user_password_reset.go index 10258ad1..cbeb67de 100644 --- a/mails/templates/user_password_reset.go +++ b/mails/templates/user_password_reset.go @@ -14,8 +14,8 @@ const UserPasswordResetBody = `

Hello,

Click on the button below to reset your password.

- Reset password - {{.ActionUrl}} + Reset password + {{.ActionUrl}}

If you didn’t ask to reset your password, you can ignore this email.

diff --git a/mails/templates/user_verification.go b/mails/templates/user_verification.go index b44d7928..6423ed44 100644 --- a/mails/templates/user_verification.go +++ b/mails/templates/user_verification.go @@ -15,8 +15,8 @@ const UserVerificationBody = `

Thank you for joining us at {{.AppName}}.

Click on the button below to verify your email address.

- Verify - {{.ActionUrl}} + Verify + {{.ActionUrl}}

Thanks,