summaryrefslogtreecommitdiffstats
path: root/createaccount.cgi
diff options
context:
space:
mode:
authorterry%mozilla.org <>1999-05-08 07:07:21 +0200
committerterry%mozilla.org <>1999-05-08 07:07:21 +0200
commitfc6da409f24abe6818ddeaaa75e949da369885f1 (patch)
treea7451fa33dc211b7005999670428d8b0da57798b /createaccount.cgi
parent08c985add2543802057ab7d6d4b26a1904834c24 (diff)
downloadbugzilla-fc6da409f24abe6818ddeaaa75e949da369885f1.tar.gz
bugzilla-fc6da409f24abe6818ddeaaa75e949da369885f1.tar.xz
Oops. Accounts created via the "createaccount.cgi" page were not
getting their password emailed to them.
Diffstat (limited to 'createaccount.cgi')
-rwxr-xr-xcreateaccount.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/createaccount.cgi b/createaccount.cgi
index c6bef90cf..3d1fa4c58 100755
--- a/createaccount.cgi
+++ b/createaccount.cgi
@@ -53,7 +53,8 @@ if (defined $login) {
print "the <b>E-mail me a password</b> button.\n";
exit;
}
- DBNameToIdAndCheck($login, 1);
+ my $password = InsertNewUser($login);
+ MailPassword($login, $password);
print "A bugzilla account for <tt>$login</tt> has been created. The\n";
print "password has been e-mailed to that address. When it is\n";
print "received, you may <a href=query.cgi?GoAheadAndLogIn>click\n";