diff options
author | terry%mozilla.org <> | 1999-09-28 05:22:23 +0000 |
---|---|---|
committer | terry%mozilla.org <> | 1999-09-28 05:22:23 +0000 |
commit | 2dff792d06f67fb76382b59a5dbe6d3ad601be89 (patch) | |
tree | e3c2902631d7b459ae004399ebc67d9dcbab0161 /CGI.pl | |
parent | 92cee2c383c4e44693b69ed45390af31b4aca09d (diff) | |
download | bugs-2dff792d06f67fb76382b59a5dbe6d3ad601be89.tar bugs-2dff792d06f67fb76382b59a5dbe6d3ad601be89.tar.gz bugs-2dff792d06f67fb76382b59a5dbe6d3ad601be89.tar.bz2 bugs-2dff792d06f67fb76382b59a5dbe6d3ad601be89.tar.xz bugs-2dff792d06f67fb76382b59a5dbe6d3ad601be89.zip |
Patch by holger@holger.om.org (Holger Schurig) -- was displaying header twice in some cases.
Diffstat (limited to 'CGI.pl')
-rw-r--r-- | CGI.pl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -355,8 +355,6 @@ To use the wonders of bugzilla, you can use the following: print SENDMAIL $msg; close SENDMAIL; - print "Content-type: text/html\n\n"; - PutHeader("Password mailed"); print "The password for the e-mail address\n"; print "$login has been e-mailed to that address.\n"; print "<p>When the e-mail arrives, you can click <b>Back</b>\n"; @@ -389,6 +387,8 @@ sub confirm_login { SqlQuote($enteredlogin)); $realpwd = FetchOneColumn(); } + print "Content-type: text/html\n\n"; + PutHeader("<H1>Password has been emailed"); MailPassword($enteredlogin, $realpwd); exit; } |