aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortravis%sedsystems.ca <>2005-02-01 03:26:00 +0000
committertravis%sedsystems.ca <>2005-02-01 03:26:00 +0000
commit5ddb84da8800728b887f2497a205fad01c44be8a (patch)
treefe0142c706d425c17148cb2f634461e285f247c7 /userprefs.cgi
parentBug 81642 : "Split bug / Clone bug": Enter new bug with prefilled fields (diff)
downloadbugzilla-5ddb84da8800728b887f2497a205fad01c44be8a.tar.gz
bugzilla-5ddb84da8800728b887f2497a205fad01c44be8a.tar.bz2
bugzilla-5ddb84da8800728b887f2497a205fad01c44be8a.zip
Bug 278792 : Move Crypt() to Bugzilla::Auth
Patch by Max Kanat-Alexander <mkanat@kerio.com> r=vladd a=justdave
Diffstat (limited to 'userprefs.cgi')
-rwxr-xr-xuserprefs.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/userprefs.cgi b/userprefs.cgi
index 1c9cf2068..6950fea88 100755
--- a/userprefs.cgi
+++ b/userprefs.cgi
@@ -28,6 +28,7 @@ use lib qw(.);
use Bugzilla;
use Bugzilla::Constants;
use Bugzilla::Search;
+use Bugzilla::Auth;
require "CGI.pl";
@@ -94,7 +95,7 @@ sub SaveAccount {
|| ThrowUserError("new_password_missing");
ValidatePassword($pwd1, $pwd2);
- my $cryptedpassword = SqlQuote(Crypt($pwd1));
+ my $cryptedpassword = SqlQuote(bz_crypt($pwd1));
SendSQL("UPDATE profiles
SET cryptpassword = $cryptedpassword
WHERE userid = $userid");