summaryrefslogtreecommitdiffstats
path: root/CGI.pl
diff options
context:
space:
mode:
Diffstat (limited to 'CGI.pl')
-rw-r--r--CGI.pl4
1 files changed, 2 insertions, 2 deletions
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 "<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;
}