| Line 33... |
Line 33... |
| 33 |
Dim rsTemp, Query_String
|
33 |
Dim rsTemp, Query_String
|
| 34 |
Query_String = _
|
34 |
Query_String = _
|
| 35 |
"SELECT * FROM users WHERE user_id= "& NNuser_id
|
35 |
"SELECT * FROM users WHERE user_id= "& NNuser_id
|
| 36 |
Set rsTemp = OraDatabase.DbCreateDynaset( Query_String, cint(0))
|
36 |
Set rsTemp = OraDatabase.DbCreateDynaset( Query_String, cint(0))
|
| 37 |
|
37 |
|
| 38 |
If rsTemp.Fields("domain_auth") = "Y" Then
|
38 |
If rsTemp.Fields("domain") <> "" Then
|
| 39 |
' No need for password
|
39 |
' No need for password
|
| 40 |
Session("AdditionalParams") = "$USERNAME$,"& UserDetails ("user_name")
|
40 |
Session("AdditionalParams") = "$USERNAME$,"& objAccessControl.UserName
|
| 41 |
Response.Redirect("message.asp?msg=202-15")
|
41 |
Response.Redirect("message.asp?msg=202-15")
|
| 42 |
|
42 |
|
| 43 |
ElseIf rsTemp.Fields("domain_auth") = "N" Then
|
43 |
Else
|
| 44 |
If EnCrypt( SSoldpassword ) <> rsTemp.Fields("user_password") Then
|
44 |
If EnCrypt( SSoldpassword ) <> rsTemp.Fields("user_password") Then
|
| 45 |
' Old Password Mismatch
|
45 |
' Old Password Mismatch
|
| 46 |
Response.Redirect("message.asp?msg=401-8")
|
46 |
Response.Redirect("message.asp?msg=401-8")
|
| 47 |
End If
|
47 |
End If
|
| 48 |
|
48 |
|
| Line 60... |
Line 60... |
| 60 |
%>
|
60 |
%>
|
| 61 |
<%
|
61 |
<%
|
| 62 |
'--- Process submition ---
|
62 |
'--- Process submition ---
|
| 63 |
If CBool(QStrPar("action")) Then
|
63 |
If CBool(QStrPar("action")) Then
|
| 64 |
' All mandatory parameters FOUND
|
64 |
' All mandatory parameters FOUND
|
| 65 |
Call Change_Password ( UserDetails ("user_id"), Request("FRoldpassword"), Request("FRpassword") )
|
65 |
Call Change_Password ( objAccessControl.UserId, Request("FRoldpassword"), Request("FRpassword") )
|
| 66 |
|
66 |
|
| 67 |
|
67 |
|
| 68 |
Response.Redirect("message.asp?msg=200-7")
|
68 |
Response.Redirect("message.asp?msg=200-7")
|
| 69 |
End If
|
69 |
End If
|
| 70 |
%>
|
70 |
%>
|
| Line 121... |
Line 121... |
| 121 |
<td width="1%" nowrap class="form_group" valign="bottom"> </td>
|
121 |
<td width="1%" nowrap class="form_group" valign="bottom"> </td>
|
| 122 |
<td nowrap width="100%" align="right" class="form_step"><img src="images/h_trsp_dot.gif" width="350" height="10"></td>
|
122 |
<td nowrap width="100%" align="right" class="form_step"><img src="images/h_trsp_dot.gif" width="350" height="10"></td>
|
| 123 |
</tr>
|
123 |
</tr>
|
| 124 |
<tr>
|
124 |
<tr>
|
| 125 |
<td width="1%"> </td>
|
125 |
<td width="1%"> </td>
|
| 126 |
<td width="1%" nowrap class="form_field" background="images/bg_form_lightbluedark.gif">OLD
|
126 |
<td width="1%" nowrap class="form_field" background="images/bg_form_lightbluedark.gif">OLD Password</td>
|
| 127 |
Password</td>
|
- |
|
| 128 |
<td nowrap width="100%" background="images/bg_form_lightbluedark.gif">
|
127 |
<td nowrap width="100%" background="images/bg_form_lightbluedark.gif">
|
| 129 |
<input type="password" name="FRoldpassword" class="form_item">
|
128 |
<input type="password" name="FRoldpassword" class="form_item">
|
| 130 |
</td>
|
129 |
</td>
|
| 131 |
</tr>
|
130 |
</tr>
|
| 132 |
<tr>
|
131 |
<tr>
|
| Line 134... |
Line 133... |
| 134 |
<td width="1%" nowrap class="form_field"> </td>
|
133 |
<td width="1%" nowrap class="form_field"> </td>
|
| 135 |
<td nowrap width="100%"> </td>
|
134 |
<td nowrap width="100%"> </td>
|
| 136 |
</tr>
|
135 |
</tr>
|
| 137 |
<tr>
|
136 |
<tr>
|
| 138 |
<td width="1%"> </td>
|
137 |
<td width="1%"> </td>
|
| 139 |
<td width="1%" nowrap class="form_field" background="images/bg_form_lightbluedark.gif">NEW
|
138 |
<td width="1%" nowrap class="form_field" background="images/bg_form_lightbluedark.gif">NEW Password</td>
|
| 140 |
Password</td>
|
- |
|
| 141 |
<td nowrap width="100%" background="images/bg_form_lightbluedark.gif">
|
139 |
<td nowrap width="100%" background="images/bg_form_lightbluedark.gif">
|
| 142 |
<input type="password" name="FRpassword" class="form_item">
|
140 |
<input type="password" name="FRpassword" class="form_item">
|
| 143 |
</td>
|
141 |
</td>
|
| 144 |
</tr>
|
142 |
</tr>
|
| 145 |
<tr>
|
143 |
<tr>
|
| 146 |
<td width="1%"> </td>
|
144 |
<td width="1%"> </td>
|
| 147 |
<td width="1%" nowrap class="form_field" background="images/bg_form_lightbluedark.gif">NEW
|
145 |
<td width="1%" nowrap class="form_field" background="images/bg_form_lightbluedark.gif">NEW Password Confirm </td>
|
| 148 |
Password Confirm </td>
|
- |
|
| 149 |
<td nowrap width="100%" background="images/bg_form_lightbluedark.gif">
|
146 |
<td nowrap width="100%" background="images/bg_form_lightbluedark.gif">
|
| 150 |
<input type="password" name="FRpasswordc" class="form_item">
|
147 |
<input type="password" name="FRpasswordc" class="form_item">
|
| 151 |
</td>
|
148 |
</td>
|
| 152 |
</tr>
|
149 |
</tr>
|
| - |
|
150 |
|
| - |
|
151 |
<%If (objAccessControl.Domain <> "") Then %>
|
| - |
|
152 |
<td width="1%"> </td>
|
| - |
|
153 |
<td width="1%" nowrap class="form_field err_alert" colspan=2>
|
| - |
|
154 |
The User Password cannot be managed from Release Manager<br>as the User is configured to use Domain Authentication</td>
|
| - |
|
155 |
</tr>
|
| - |
|
156 |
<% End If %>
|
| - |
|
157 |
|
| 153 |
<tr>
|
158 |
<tr>
|
| 154 |
<td width="1%"> </td>
|
159 |
<td width="1%"> </td>
|
| 155 |
<td width="1%" nowrap class="form_field"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
|
160 |
<td width="1%" nowrap class="form_field"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
|
| 156 |
<td nowrap width="100%">
|
161 |
<td nowrap width="100%">
|
| 157 |
<input type="hidden" name="action" value="true">
|
162 |
<input type="hidden" name="action" value="true">
|
| - |
|
163 |
<%If (objAccessControl.Domain <> "") Then %>
|
| - |
|
164 |
<input disabled type="submit" name="btn" value="Change" class="form_btn_disabled" >
|
| - |
|
165 |
<% Else %>
|
| 158 |
<input type="submit" name="btn" value="Change" class="form_btn" onClick="MM_validateForm('FRoldpassword','OLD Password','RisCleanStr','FRpassword','NEW Password','RisCleanStrisChangePasswordinLength6:');return document.MM_returnValue">
|
166 |
<input type="submit" name="btn" value="Change" class="form_btn" onClick="MM_validateForm('FRoldpassword','OLD Password','RisCleanStr','FRpassword','NEW Password','RisCleanStrisChangePasswordinLength6:');return document.MM_returnValue">
|
| - |
|
167 |
<% End If %>
|
| 159 |
<input type="reset" name="btn" value="Cancel" class="form_btn" onClick="history.back();">
|
168 |
<input type="reset" name="btn" value="Cancel" class="form_btn" onClick="history.back();">
|
| 160 |
<br>
|
169 |
<br>
|
| 161 |
<br>
|
170 |
<br>
|
| 162 |
</td>
|
171 |
</td>
|
| 163 |
</tr>
|
172 |
</tr>
|