diff options
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"; |