From 2644cbb6e9b70a176ab3f2974009d2e5e430db68 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Fri, 9 Mar 2012 15:31:33 +1300 Subject: [PATCH] BUGFIX Remove use of encryptPasswords; use PasswordEncryptor_None instead --- security/Security.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/Security.php b/security/Security.php index 500039406db..61ff9363538 100644 --- a/security/Security.php +++ b/security/Security.php @@ -771,7 +771,7 @@ static function encrypt_password($password, $salt = null, $algorithm = null, $me // if the password is empty, don't encrypt strlen(trim($password)) == 0 // if no algorithm is provided and no default is set, don't encrypt - || (!$algorithm && self::$encryptPasswords == false) + || (!$algorithm) ) { $algorithm = 'none'; } else {