From c3b940f89523d54d2e2baf436122a30fc0aafdd9 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 3 Jun 2024 11:49:12 -0500 Subject: Handle unverified emails If a user provides the correct credentials to login, but they are unverified, redirect them to the email verification page, where they are provided with a chance to verify their email, or send a new verification code. --- gn_auth/templates/users/unverified-user.html | 69 ++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 gn_auth/templates/users/unverified-user.html (limited to 'gn_auth/templates/users/unverified-user.html') diff --git a/gn_auth/templates/users/unverified-user.html b/gn_auth/templates/users/unverified-user.html new file mode 100644 index 0000000..b2c6992 --- /dev/null +++ b/gn_auth/templates/users/unverified-user.html @@ -0,0 +1,69 @@ +{%extends "base.html"%} + +{%block title%}gn-auth: Verify Email{%endblock%} + +{%block pagetitle%}Verify Email{%endblock%} + +{%block content%} +{{flash_messages()}} + +

Verify Your E-Mail

+ +
+ Email Verification + +

In order to reduce the number of bots we have to deal with, we no longer + allow sign-in with users who have not verified their accounts.

+ +

We know this is annoying — especially if you already have an account, + and have been using it just fine — however, we have found that without + this check in place, we will get overrun by silly bots, which will ruin + every user's experience.

+ +

+ Do bear with us, enter the verification code you received via email below: +

+ + + +
+ + +
+ +
+ +
+
+ +

Send Verification Code

+ +
+ Send Verification Code + +

If you have not received a verification code, or your code is already + expired, provide your GeneNetwork password and + click the "Send Verification Code" button below and we will send + you a new verification code.

+ + + +
+ + +
+ +
+ + +
+ +
+{%endblock%} -- cgit v1.2.3