From ffe9e7104ba83b73d78d66de2d29ad4ace6de2da Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 30 May 2024 16:13:04 -0500 Subject: Provide endpoint for verification and do verification --- gn_auth/templates/emails/verify-email.html | 27 ++++----------------------- gn_auth/templates/emails/verify-email.txt | 2 +- 2 files changed, 5 insertions(+), 24 deletions(-) (limited to 'gn_auth/templates/emails') diff --git a/gn_auth/templates/emails/verify-email.html b/gn_auth/templates/emails/verify-email.html index 08f1dfe..bc475c9 100644 --- a/gn_auth/templates/emails/verify-email.html +++ b/gn_auth/templates/emails/verify-email.html @@ -2,25 +2,6 @@ {{subject}} -

Thank you for registering an account with GeneNetwork.

@@ -28,8 +9,8 @@

To avoid bots, we need to verify that you are an actual human. To do so, please - + Click here .

@@ -38,10 +19,10 @@ If that does not work, please log in to GeneNetwork and copy the verification code below when requested:

- {{verification_code}} + {{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 index 92a6435..7a39fea 100644 --- a/gn_auth/templates/emails/verify-email.txt +++ b/gn_auth/templates/emails/verify-email.txt @@ -3,7 +3,7 @@ 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}}". +To avoid bots, we need to verify that you are an actual human. To do so, please go to "{{verification_uri}}?verificationcode={{verification_code}}". If that does not work, please log in to GeneNetwork and copy the verification code below when requested: -- cgit v1.2.3