diff options
author | travis%sedsystems.ca <> | 2005-02-01 04:26:00 +0100 |
---|---|---|
committer | travis%sedsystems.ca <> | 2005-02-01 04:26:00 +0100 |
commit | 5ddb84da8800728b887f2497a205fad01c44be8a (patch) | |
tree | fe0142c706d425c17148cb2f634461e285f247c7 /token.cgi | |
parent | c4b39497330fb3849989b3ebda7fec317643e9db (diff) | |
download | bugzilla-5ddb84da8800728b887f2497a205fad01c44be8a.tar.gz bugzilla-5ddb84da8800728b887f2497a205fad01c44be8a.tar.xz |
Bug 278792 : Move Crypt() to Bugzilla::Auth
Patch by Max Kanat-Alexander <mkanat@kerio.com> r=vladd a=justdave
Diffstat (limited to 'token.cgi')
-rwxr-xr-x | token.cgi | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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. |