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()}} + +