diff options
author | terry%mozilla.org <> | 1999-05-08 05:07:21 +0000 |
---|---|---|
committer | terry%mozilla.org <> | 1999-05-08 05:07:21 +0000 |
commit | fc6da409f24abe6818ddeaaa75e949da369885f1 (patch) | |
tree | a7451fa33dc211b7005999670428d8b0da57798b /createaccount.cgi | |
parent | Provide an option to tell mysql "set option SQL_BIG_TABLES=1". This (diff) | |
download | bugzilla-fc6da409f24abe6818ddeaaa75e949da369885f1.tar.gz bugzilla-fc6da409f24abe6818ddeaaa75e949da369885f1.tar.bz2 bugzilla-fc6da409f24abe6818ddeaaa75e949da369885f1.zip |
Oops. Accounts created via the "createaccount.cgi" page were not
getting their password emailed to them.
Diffstat (limited to 'createaccount.cgi')
-rwxr-xr-x | createaccount.cgi | 3 |
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"; |