From 2dff792d06f67fb76382b59a5dbe6d3ad601be89 Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" <> Date: Tue, 28 Sep 1999 05:22:23 +0000 Subject: Patch by holger@holger.om.org (Holger Schurig) -- was displaying header twice in some cases. --- CGI.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CGI.pl') diff --git a/CGI.pl b/CGI.pl index 0d9762b22..328b4d9ea 100644 --- a/CGI.pl +++ b/CGI.pl @@ -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 "

When the e-mail arrives, you can click Back\n"; @@ -389,6 +387,8 @@ sub confirm_login { SqlQuote($enteredlogin)); $realpwd = FetchOneColumn(); } + print "Content-type: text/html\n\n"; + PutHeader("

Password has been emailed"); MailPassword($enteredlogin, $realpwd); exit; } -- cgit v1.2.3-24-g4f1b