-
Notifications
You must be signed in to change notification settings - Fork 0
/
reset_passwd.html
45 lines (41 loc) · 1.19 KB
/
reset_passwd.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
<html>
<title>
Reset password
</title>
<head>
<h1> <center> Reset your Password </center> </h1>
</head>
<script type=text/javascript>
function errcheck()
{
var errs = location.search.split("?")[1];
var val = errs.split("=")[1];
if (val == 'passlen')
{
alert("Password Length should > 8 chars");
return ;
}
if (val == 'passconpass')
{
alert("Password and Confirm Password didn't match\n");
return ;
}
}
</script>
<form name=reset action=reset_passwd.php method=post>
<table align=center>
<tr>
<td> Enter new password: </td>
<td> <input type=password name=npasswd value=""> </td>
</tr>
<tr>
<td> Confirm new password: </td>
<td> <input type=password name=cnpasswd value=""> </td>
</tr>
<tr>
<td> </td>
<td align=right> <input type=submit name=btn value="Reset"> </td>
</tr>
</table>
</form>
</html>