forked from OhadR/Authentication-Flows-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setNewPassword.jsp
41 lines (38 loc) · 1.03 KB
/
setNewPassword.jsp
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
<html>
<head>
<script type="text/javascript" src="https://code.jquery.com/jquery-1.4.2.js"></script>
<script type="text/javascript" src="./javascript/oauth.js"></script>
<title>Set New Password Page</title>
</head>
<body onload='document.f.password.focus();InitCreateAccount();setEnc()'>
<h3>Set New Password</h3>
<%
if ( null != request.getParameter("err_msg") ) {
%>
<div style="margin-top: 25px ;position: relative; color: red; font:15px">
<span style="font-weight:bold"><%= request.getParameter("err_msg") %></span>
</div>
<% } %>
<form name='f' id='f'
action='../setNewPassword'
method='POST'>
<table>
<tr>
<td><input type='hidden' name='enc' /></td>
</tr>
<tr>
<td>Password:</td>
<td><input type='password' name='password' /></td>
</tr>
<tr>
<td>Confirm Password:</td>
<td><input type='password' name='confirm_password' /></td>
</tr>
<tr>
<td colspan='2'><input name="submit" type="submit"
value='Set New Password' /></td>
</tr>
</table>
</form>
</body>
</html>