diff options
Diffstat (limited to 'createaccount.cgi')
-rwxr-xr-x | createaccount.cgi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/createaccount.cgi b/createaccount.cgi index 2447c1117..6867ea3c4 100755 --- a/createaccount.cgi +++ b/createaccount.cgi @@ -30,6 +30,8 @@ use lib qw(.); require "CGI.pl"; +use Bugzilla::User qw(insert_new_user); + # Shut up misguided -w warnings about "used only once": use vars qw( $template @@ -74,7 +76,7 @@ if (defined($login)) { } # Create account - my $password = InsertNewUser($login, $realname); + my $password = insert_new_user($login, $realname); MailPassword($login, $password); $template->process("account/created.html.tmpl", $vars) |