From c462653f53858359a81cfed561f1622d7e63102b Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 30 May 2024 15:14:13 -0500 Subject: Send verification email on registration. --- gn_auth/templates/emails/verify-email.html | 49 ++++++++++++++++++++++++++++++ gn_auth/templates/emails/verify-email.txt | 12 ++++++++ 2 files changed, 61 insertions(+) create mode 100644 gn_auth/templates/emails/verify-email.html create mode 100644 gn_auth/templates/emails/verify-email.txt (limited to 'gn_auth/templates/emails') diff --git a/gn_auth/templates/emails/verify-email.html b/gn_auth/templates/emails/verify-email.html new file mode 100644 index 0000000..08f1dfe --- /dev/null +++ b/gn_auth/templates/emails/verify-email.html @@ -0,0 +1,49 @@ + +
+ +Thank you for registering an account with GeneNetwork.
+ ++ To avoid bots, we need to verify that you are an actual human. To do so, + please + + Click here + . +
+ +
+ If that does not work, please log in to GeneNetwork and copy the
+ verification code below when requested:
+
+ {{verification_code}}
+
+ Please note that the verification code will expire in + {{expiration_minutes}} minutes after it was generated. +
+ + diff --git a/gn_auth/templates/emails/verify-email.txt b/gn_auth/templates/emails/verify-email.txt new file mode 100644 index 0000000..92a6435 --- /dev/null +++ b/gn_auth/templates/emails/verify-email.txt @@ -0,0 +1,12 @@ +{{subject}} +=============== + +Thank you for registering an account with GeneNetwork. + +To avoid bots, we need to verify that you are an actual human. To do so, please go to "{{verification_uri}}/{{verification_code}}". + +If that does not work, please log in to GeneNetwork and copy the verification code below when requested: + +{{verification_code}} + +Please note that the verification code will expire {{expiration_minutes}} minutes after it was generated. -- cgit v1.2.3