forked from hestiacp/hestiacp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreset2fa.html
More file actions
73 lines (72 loc) · 4.11 KB
/
reset2fa.html
File metadata and controls
73 lines (72 loc) · 4.11 KB
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
<center>
<table class="login">
<tr>
<td>
<table>
<tr>
<td style="padding: 0 10px 0 42px; height: 280px; width: 170px;">
<a href="/"><img border=0 src="/images/logo.png" width="124px" height="46px" alt="Hestia Control Panel" /></a>
</td>
<td style="padding: 10px 0 0 0;">
<?php if ($success) { ?>
<table class="login-box">
<tr>
<td style="padding: 12px 0 0 2px;">
<?php print __('2FA Reset successfully.'); ?>
</td>
</tr>
</table>
<?php } else { ?>
<form method="post" action="/reset2fa/">
<table class="login-box">
<tr>
<td style="padding: 12px 0 0 2px;">
<?php print __('RESET_NOTICE');?>
</td>
</tr>
<tr>
<td style="padding: 12px 0 0 2px;">
<?php print __('Username');?>
</td>
</tr>
<tr>
<td>
<input tabindex="1" type="text" size="20px" style="width:240px" name="user" class="vst-input">
</td>
</tr>
<tr>
<td style="padding: 12px 0 0 2px;">
<?php print __('2FA Reset Code');?>
</td>
</tr>
<tr>
<td>
<input tabindex="1" type="text" size="20px" style="width:240px" name="twofa" class="vst-input">
</td>
</tr>
<tr>
<td style="padding: 20px 0 12px 0;">
<input tabindex="2" type="submit" value="<?php print __('Submit');?>" class="button">
<input type="button" class="button cancel" value="<?php print __('Back');?>" onclick="location.href='/login/'">
</td>
</tr>
</table>
</form>
<?php } ?>
</td>
</tr>
<tr>
<td colspan=2>
<div class="login-bottom">
<div style="height:20px"><?php if (isset($ERROR)) echo $ERROR ?></div>
<a class="hestiacp" href="https://www.hestiacp.com" >hestiacp.com</a>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</center>
</body>
</html>