about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-08-20 14:36:39 -0500
committerFrederick Muriuki Muriithi2024-08-20 15:21:22 -0500
commitc16eb0722657e7804aeb930749d4c2cc2cc89aff (patch)
tree4a4f3da32a4ad5f1c5b5809387bbc396c418e5b1
parent3b1ebec9c030f18ad424afa252c2ed98e985aad3 (diff)
downloadgn-auth-c16eb0722657e7804aeb930749d4c2cc2cc89aff.tar.gz
Add notification to outgoing emails.
-rw-r--r--gn_auth/templates/emails/forgot-password.html8
-rw-r--r--gn_auth/templates/emails/forgot-password.txt2
2 files changed, 10 insertions, 0 deletions
diff --git a/gn_auth/templates/emails/forgot-password.html b/gn_auth/templates/emails/forgot-password.html
index 18321d5..e40ebb8 100644
--- a/gn_auth/templates/emails/forgot-password.html
+++ b/gn_auth/templates/emails/forgot-password.html
@@ -26,5 +26,13 @@
     <p style="font-weight: bold;color: #ee55ee;">
       The link will expire in <strong>{{expiration_minutes}}</strong> minutes.
     </p>
+
+    <hr />
+    <p>
+      <small>
+        Note that if you requested to change your password multiple times, only
+        the latest/newest token will be valid.
+      </small>
+    </p>
   </body>
 </html>
diff --git a/gn_auth/templates/emails/forgot-password.txt b/gn_auth/templates/emails/forgot-password.txt
index 7eda908..55a4b13 100644
--- a/gn_auth/templates/emails/forgot-password.txt
+++ b/gn_auth/templates/emails/forgot-password.txt
@@ -8,3 +8,5 @@ You (or someone pretending to be you) made a request to change your password. Pl
 If you did not request to change your password, simply ignore this email.
 
 The link will expire {{expiration_minutes}} minutes.
+
+Note that if you requested to change your password multiple times, only the latest/newest token will be valid.