BUGFIX Remove use of encryptPasswords; use PasswordEncryptor_None

instead
This commit is contained in:
Sean Harvey 2012-03-09 15:31:33 +13:00
parent d0a0df0b8e
commit 2644cbb6e9

View File

@ -771,7 +771,7 @@ class Security extends Controller {
// 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 {