aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/templates/emails/forgot-password.html
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-08-19 17:01:03 -0500
committerFrederick Muriuki Muriithi2024-08-19 17:01:03 -0500
commit1c2db3df6d8417cb927e0b47774dcdd6397f5469 (patch)
tree89cdc187e01d3c426db7323e288dddd7fc4c3a58 /gn_auth/templates/emails/forgot-password.html
parente686d9be8b4d78bcc7348323f0ddc45f5548178d (diff)
downloadgn-auth-1c2db3df6d8417cb927e0b47774dcdd6397f5469.tar.gz
Generate token and send out "Forgot Password" email
* Generate token to use for verifying the password-change request * Send out email with token
Diffstat (limited to 'gn_auth/templates/emails/forgot-password.html')
-rw-r--r--gn_auth/templates/emails/forgot-password.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/gn_auth/templates/emails/forgot-password.html b/gn_auth/templates/emails/forgot-password.html
new file mode 100644
index 0000000..18321d5
--- /dev/null
+++ b/gn_auth/templates/emails/forgot-password.html
@@ -0,0 +1,30 @@
+<html>
+ <head>
+ <meta charset="UTF-8" />
+ <title>{{subject}}</title>
+ </head>
+ <body>
+ <p>
+ You (or someone pretending to be you) made a request to change your
+ password. Please follow the link below to change it.
+ </p>
+
+ <p>
+ Click the button below to change your password
+ <a href="{{forgot_password_uri}}"
+ style="display: block;text-align: center;vertical-align: center;cursor: pointer;border-radius: 4px;background-color: #336699;border-color: #357ebd;color: white;text-decoration: none;font-size: large;width: 9em;text-transform: capitalize;margin: 1em 0 0 3em;box-shadow: 2px 2px rgba(0, 0, 0, 0.3);">Change my Password</a>.</p>
+
+ <p>
+ Or copy the link below onto your browser's address bar:<br /><br />
+ <span style="font-weight: bolder;">{{forgot_password_uri}}</span>
+ </p>
+
+ <p>
+ If you did not request to change your password, simply ignore this email.
+ </p>
+
+ <p style="font-weight: bold;color: #ee55ee;">
+ The link will expire in <strong>{{expiration_minutes}}</strong> minutes.
+ </p>
+ </body>
+</html>