summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Auth/Verify
diff options
context:
space:
mode:
authortravis%sedsystems.ca <>2005-02-01 04:26:00 +0100
committertravis%sedsystems.ca <>2005-02-01 04:26:00 +0100
commit5ddb84da8800728b887f2497a205fad01c44be8a (patch)
treefe0142c706d425c17148cb2f634461e285f247c7 /Bugzilla/Auth/Verify
parentc4b39497330fb3849989b3ebda7fec317643e9db (diff)
downloadbugzilla-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 'Bugzilla/Auth/Verify')
-rw-r--r--Bugzilla/Auth/Verify/DB.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Auth/Verify/DB.pm b/Bugzilla/Auth/Verify/DB.pm
index ec13bacf8..1d5c6850c 100644
--- a/Bugzilla/Auth/Verify/DB.pm
+++ b/Bugzilla/Auth/Verify/DB.pm
@@ -111,7 +111,7 @@ sub check_password {
sub change_password {
my ($class, $userid, $password) = @_;
my $dbh = Bugzilla->dbh;
- my $cryptpassword = Crypt($password);
+ my $cryptpassword = bz_crypt($password);
$dbh->do("UPDATE profiles SET cryptpassword = ? WHERE userid = ?",
undef, $cryptpassword, $userid);
}