-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathrecover-account.html
executable file
·185 lines (167 loc) · 6.13 KB
/
recover-account.html
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="css/app.css" />
<title>Hive Account Recovery - Recover Account</title>
</head>
<body>
<div class="container pt-3">
<a href="./">
<h1 class="text-center">Hive Account Recovery</h1>
</a>
<hr />
<h2 class="text-center mb-5">Recover Account</h2>
<div class="row">
<div class="offset-md-2 col-md-8">
<form id="get-owner-key" method="post" class="mt-5 mb-5">
<h4 class="mb-2">Step 1: Generate New Password</h4>
<div class="alert" id="alert-get-owner-key"></div>
<div class="form-group">
<label for="atr" class="control-label">Account To Recover</label>
<input type="text" name="atr" id="atr" class="form-control" />
<p class="form-text text-muted">
Hive username of the account need recovery.
</p>
</div>
<div class="form-group">
<label for="new-password" class="control-label"
>New Password</label
>
<div class="input-group">
<input
type="text"
name="new-password"
id="new-password"
class="form-control"
/>
<div class="input-group-append">
<button class="btn btn-success" id="regen-password">
<svg
width="24"
height="24"
xmlns="http://www.w3.org/2000/svg"
fill-rule="evenodd"
clip-rule="evenodd"
>
<path
style="fill: #ffffff"
d="M7 9h-7v-7h1v5.2c1.853-4.237 6.083-7.2 11-7.2 6.623 0 12 5.377 12 12s-5.377 12-12 12c-6.286 0-11.45-4.844-11.959-11h1.004c.506 5.603 5.221 10 10.955 10 6.071 0 11-4.929 11-11s-4.929-11-11-11c-4.66 0-8.647 2.904-10.249 7h5.249v1z"
/>
</svg>
</button>
</div>
</div>
<p class="form-text text-muted">
New PASSWORD for the account need recovery.
<span class="text-info"
>Please save it somewhere safe before sending the PUBLIC OWNER
KEY to the Trustee.</span
>
</p>
</div>
<div class="form-group">
<label for="public-owner-key" class="control-label"
>New Public Owner Key</label
>
<input
type="text"
name="public-owner-key"
id="public-owner-key"
class="form-control"
readonly
/>
<p class="form-text text-muted">
PUBLIC OWNER KEY generated using username and password. Please
check if the username is correct and backup the password and
send it to the Trustee account.
</p>
</div>
<button class="btn btn-success btn-block">Get Owner Key</button>
</form>
<hr />
<h4>Step 2: Send PUBLIC OWNER KEY to the Trustee</h4>
<hr />
<form id="recover-account" method="POST" class="mt-5 mb-5">
<h4 class="mb-2">Step 3: Recover Account</h4>
<div class="alert" id="alert-recover-account"></div>
<div class="form-group">
<label for="user-atr">Account To Recover</label>
<input
type="text"
name="user-atr"
id="user-atr"
class="form-control"
/>
<p class="form-text text-muted">
Hive username of the account need recovery and a request already
been placed by the recovery account.
</p>
</div>
<div class="form-group">
<label for="user-new-pass" class="control-label"
>New Password</label
>
<input
type="password"
name="user-new-pass"
id="user-new-pass"
class="form-control"
/>
<p class="form-text text-muted">
New PASSWORD that you have generated when generating PUBLIC
OWNER KEY.
</p>
</div>
<div class="form-group">
<label for="user-old-pass" class="control-label"
>Recent Password</label
>
<input
type="password"
name="user-old-pass"
id="user-old-pass"
class="form-control"
/>
<p class="form-text text-muted">
Recent PASSWORD of the account but must not be older than 30
days.
</p>
</div>
<button class="btn btn-success btn-block">Recover Account</button>
</form>
</div>
</div>
<hr />
<div class="text-center">
<p>
Brought to you by
<a href="https://hive.blog/@reazuliqbal">@reazuliqbal</a>
</p>
<a
href="javascript:void(0);"
class="small text-info"
onclick="voteHiveWitness()"
>Vote Witness</a
>
</div>
</div>
<script
src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"
></script>
<script src="https://unpkg.com/@hiveio/[email protected]/dist/dhive.js"></script>
<script src="js/app.js"></script>
</body>
</html>