From de1f16178dcae2d517e849e45ee77fd3d636005c Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 2 Sep 2005 04:39:20 +0000 Subject: Bug 304582: Move GenerateRandomPassword() out of globals.pl - Patch by Frédéric Buclin r=joel a=myk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bugzilla/User.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/User.pm') 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 -- cgit v1.2.3-24-g4f1b