From 689b710c9e61646e62d3aea21d616402665d2f66 Mon Sep 17 00:00:00 2001 From: Puyodead1 Date: Fri, 20 Jan 2023 10:43:06 -0500 Subject: Fix template rendering and use verify email template email html is weird, some stuff isn't supported. --- assets/email_templates/new_login_location.html | 162 ++++++++++----------- assets/email_templates/password_changed.html | 77 +++++----- assets/email_templates/password_reset_request.html | 145 +++++++++--------- assets/email_templates/phone_removed.html | 85 ++++++----- assets/email_templates/verify_email.html | 146 +++++++++---------- 5 files changed, 306 insertions(+), 309 deletions(-) (limited to 'assets') diff --git a/assets/email_templates/new_login_location.html b/assets/email_templates/new_login_location.html index 701196cd..e597ac6c 100644 --- a/assets/email_templates/new_login_location.html +++ b/assets/email_templates/new_login_location.html @@ -4,108 +4,108 @@ + Verify {instanceName} Login from New Location - Branding -
-

+ Branding +

- Hey {username}, -

-

- It looks like someone tried to log into your {instanceName} - account from a new location. If this is you, follow the link - below to authorize logging in from this location on your - account. If this isn't you, we suggest changing your password as - soon as possible. -

-

- IP Address: {ip} -
- Location: {location} -

-
-
- Verify Login +

+ It looks like someone tried to log into your {instanceName} + account from a new location. If this is you, follow the link + below to authorize logging in from this location on your + account. If this isn't you, we suggest changing your + password as soon as possible. +

+

+ IP Address: {ipAddress} +
+ Location: {locationCity}, {locationRegion}, + {locationCountryName} +

+
+
-
-
-
-

- Alternatively, you can directly paste this link into - your browser: -

- {verifyUrl} + Verify Login +
+
+
+

+ Alternatively, you can directly paste this link into + your browser: +

+ {verifyUrl} +
diff --git a/assets/email_templates/password_changed.html b/assets/email_templates/password_changed.html index 3f762702..399108a2 100644 --- a/assets/email_templates/password_changed.html +++ b/assets/email_templates/password_changed.html @@ -4,57 +4,62 @@ + {instanceName} Password Changed - Branding -
-

+ Branding +

- Hey {username}, -

-

Your {instanceName} password has been changed.

-

- If this wasn't done by you, please immediately reset the - password to your {instanceName} account. -

+

+ Hey {userUsername}, +

+

Your {instanceName} password has been changed.

+

+ If this wasn't done by you, please immediately reset the + password to your {instanceName} account. +

+
diff --git a/assets/email_templates/password_reset_request.html b/assets/email_templates/password_reset_request.html index fc77b47b..ab8f4d23 100644 --- a/assets/email_templates/password_reset_request.html +++ b/assets/email_templates/password_reset_request.html @@ -4,103 +4,96 @@ + Password Reset Request for {instanceName} - Branding -
-

+ Branding +

- Hey {username}, -

-

- Your {instanceName} password can be reset by clicking the button - below. If you did not request a new password, please ignore this - email. -

-
- -
-
-

- Alternatively, you can directly paste this link into - your browser: -

- {passwordResetUrl} +

+ Your {instanceName} password can be reset by clicking the + button below. If you did not request a new password, please + ignore this email. +

+
+ +
+
+

+ Alternatively, you can directly paste this link into + your browser: +

+ {passwordResetUrl} +
diff --git a/assets/email_templates/phone_removed.html b/assets/email_templates/phone_removed.html index 1eb52fbe..65807e29 100644 --- a/assets/email_templates/phone_removed.html +++ b/assets/email_templates/phone_removed.html @@ -4,61 +4,66 @@ + Phone Removed From {instanceName} Account - Branding -
-

+ Branding +

- Hey {username}, -

-

- Your phone number ********{phoneNumber} was recently removed - from this account and added to a different {instanceName} - account. -

-

- Please note that your phone number can only be linked to one - {instanceName} account at a time. -

+

+ Hey {userUsername}, +

+

+ Your phone number ********{phoneNumber} was recently removed + from this account and added to a different {instanceName} + account. +

+

+ Please note that your phone number can only be linked to one + {instanceName} account at a time. +

+
diff --git a/assets/email_templates/verify_email.html b/assets/email_templates/verify_email.html index f0c11e52..604242c4 100644 --- a/assets/email_templates/verify_email.html +++ b/assets/email_templates/verify_email.html @@ -4,103 +4,97 @@ + Verify Email Address for {instanceName} - Branding -
-

+ Branding +

- Hey {username}, -

-

- Thanks for registering for an account on {instanceName}! Before - we get started, we just need to confirm that this is you. Click - below to verify your email address: -

-
- -
-
-

- Alternatively, you can directly paste this link into - your browser: -

- {verificationUrl} +

+ Thanks for registering for an account on {instanceName}! + Before we get started, we just need to confirm that this is + you. Click below to verify your email address: +

+
+ +
+
+

+ Alternatively, you can directly paste this link into + your browser: +

+ {emailVerificationUrl} +
-- cgit 1.4.1