Skip to content
Browse files

BUGFIX Remove use of encryptPasswords; use PasswordEncryptor_None

instead
  • Loading branch information...
1 parent d0a0df0 commit 2644cbb6e9b70a176ab3f2974009d2e5e430db68 @halkyon halkyon committed Mar 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 security/Security.php
View
2 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 {

0 comments on commit 2644cbb

Please sign in to comment.
Something went wrong with that request. Please try again.