From 5ddb84da8800728b887f2497a205fad01c44be8a Mon Sep 17 00:00:00 2001 From: "travis%sedsystems.ca" <> Date: Tue, 1 Feb 2005 03:26:00 +0000 Subject: Bug 278792 : Move Crypt() to Bugzilla::Auth Patch by Max Kanat-Alexander r=vladd a=justdave --- token.cgi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'token.cgi') diff --git a/token.cgi b/token.cgi index 03d0e8b03..8b4636a79 100755 --- a/token.cgi +++ b/token.cgi @@ -33,6 +33,7 @@ use vars qw($template $vars); use Bugzilla; use Bugzilla::Constants; +use Bugzilla::Auth; my $cgi = Bugzilla->cgi; @@ -192,7 +193,7 @@ sub cancelChangePassword { sub changePassword { # Quote the password and token for inclusion into SQL statements. - my $cryptedpassword = Crypt($cgi->param('password')); + my $cryptedpassword = bz_crypt($cgi->param('password')); my $quotedpassword = SqlQuote($cryptedpassword); # Get the user's ID from the tokens table. -- cgit v1.2.3-65-gdbad