diff options
author | terry%netscape.com <> | 1998-11-21 04:18:33 +0100 |
---|---|---|
committer | terry%netscape.com <> | 1998-11-21 04:18:33 +0100 |
commit | 89eccc9b74482b8c636a02d3a6bcf3ec2947eb7b (patch) | |
tree | 235232c5fcc2e5d1fb13ad91e8b44da262c2a3f3 /changepassword.cgi | |
parent | 3789246e0d115ebd9b0f280c8fa209a690e425fe (diff) | |
download | bugzilla-89eccc9b74482b8c636a02d3a6bcf3ec2947eb7b.tar.gz bugzilla-89eccc9b74482b8c636a02d3a6bcf3ec2947eb7b.tar.xz |
Backed out Andrew's patch -- turns out it was doing quoting sublty wrong.
Diffstat (limited to 'changepassword.cgi')
-rwxr-xr-x | changepassword.cgi | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/changepassword.cgi b/changepassword.cgi index 37543768b..a3a17e39a 100755 --- a/changepassword.cgi +++ b/changepassword.cgi @@ -24,20 +24,20 @@ require "CGI.pl"; confirm_login(); if (! defined $::FORM{'pwd1'}) { - print "Content-type: text/html\n\n"; - PutHeader("Change your password"); - print " -<FORM METHOD=\"post\"> + print "Content-type: text/html + +<H1>Change your password</H1> +<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"; |