blob: 0ce141d168957b8cea7a058f35e65ea2acfe7aa1 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
{%extends "base.html"%}
{%block title%}gn-auth: Verify Email{%endblock%}
{%block pagetitle%}Verify Email{%endblock%}
{%block content%}
{{flash_messages()}}
<h1>Verify Your E-Mail</h1>
<form id="frm-email-verification" method="POST"
action="{{url_for('oauth2.users.verify_user')}}">
<legend>Email Verification</legend>
<p>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.</p>
<p>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.</p>
<p>
Do bear with us, enter the verification code you received via email below:
</p>
<input type="hidden" name="email" value="{{email}}" />
<input type="hidden" name="response_type" value="{{response_type}}" />
<input type="hidden" name="client_id" value="{{client_id}}" />
<input type="hidden" name="redirect_uri" value="{{redirect_uri}}" />
<fieldset class="form-group">
<label for="txt-verification-code" class="form-label">
Verification Code</label>
<input id="txt-verification-code" name="verificationcode" type="text"
required="required" class="form-control"
placeholder="Enter your verification code here." />
</fieldset>
<fieldset>
<input type="submit" value="Verify Email Address" class="btn btn-primary" />
</fieldset>
</form>
<h2>Send Verification Code</h2>
<form id="frm-send-verification-code" method="POST"
action="{{url_for('oauth2.users.send_verification_code')}}">
<legend>Send Verification Code</legend>
<p>If you have not received a verification code, or your code is already
expired, provide <strong>your GeneNetwork</strong> password and
click the "<em>Send Verification Code</em>" button below and we will send
you a new verification code.</p>
<input type="hidden" name="user_email" value="{{email}}" />
<input type="hidden" name="response_type" value="{{response_type}}" />
<input type="hidden" name="client_id" value="{{client_id}}" />
<input type="hidden" name="redirect_uri" value="{{redirect_uri}}" />
<fieldset class="form-group">
<label class="form-label">Email</label>
<label class="form-control">{{email}}</label>
</fieldset>
<fieldset class="form-group">
<label for="txt-password" class="form-label">Password</label>
<input id="txt-password" name="user_password" type="password"
placeholder="Enter your GeneNetwork password"
class="form-control" />
</fieldset>
<input type="submit" value="Send Verification Code" class="btn btn-danger" />
</form>
{%endblock%}
|