summaryrefslogtreecommitdiffstats
path: root/Bugzilla/User.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/User.pm')
-rw-r--r--Bugzilla/User.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm
index dfe207d7b..87f894752 100644
--- a/Bugzilla/User.pm
+++ b/Bugzilla/User.pm
@@ -1153,7 +1153,7 @@ sub insert_new_user {
$disabledtext ||= '';
# If not specified, generate a new random password for the user.
- $password ||= &::GenerateRandomPassword();
+ $password ||= generate_random_password();
my $cryptpassword = bz_crypt($password);
# XXX - These should be moved into is_available_username or validate_email_syntax