Patch by Andrew Anderson <andrew@redhat.com>. Many minor bugfixes and cleanup.
git-svn-id: svn://10.0.0.236/trunk@14745 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -24,20 +24,20 @@ require "CGI.pl";
|
||||
confirm_login();
|
||||
|
||||
if (! defined $::FORM{'pwd1'}) {
|
||||
print "Content-type: text/html
|
||||
|
||||
<H1>Change your password</H1>
|
||||
<form method=post>
|
||||
print "Content-type: text/html\n\n";
|
||||
PutHeader("Change your password");
|
||||
print "
|
||||
<FORM METHOD=\"post\">
|
||||
<table>
|
||||
<tr>
|
||||
<td align=right>Please enter the new password for <b>$::COOKIE{'Bugzilla_login'}</b>:</td>
|
||||
<td><input type=password name=pwd1></td>
|
||||
<TD ALIGN=\"right\">Please enter the new password for <b>$::COOKIE{'Bugzilla_login'}</b>:</td>
|
||||
<TD><INPUT TYPE=\"password\" NAME=\"pwd1\"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align=right>Re-enter your new password:</td>
|
||||
<td><input type=password name=pwd2></td>
|
||||
<TD ALIGN=\"right\">Re-enter your new password:</td>
|
||||
<TD><INPUT TYPE=\"password\" name=\"pwd2\"></td>
|
||||
</table>
|
||||
<input type=submit value=Submit>\n";
|
||||
<INPUT TYPE=\"submit\" VALUE=\"Submit\">\n";
|
||||
exit;
|
||||
}
|
||||
|
||||
@@ -85,4 +85,4 @@ SendSQL("update logincookies set cryptpassword = '$encrypted' where cookie = $::
|
||||
print "<H1>OK, done.</H1>
|
||||
Your new password has been set.
|
||||
<p>
|
||||
<a href=query.cgi>Back to query page.</a>\n";
|
||||
<A HREF=\"query.cgi\">Back to query page.</A>\n";
|
||||
|
||||
Reference in New Issue
Block a user