Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

BUGFIX Remove use of encryptPasswords; use PasswordEncryptor_None

instead
  • Loading branch information...
commit 2644cbb6e9b70a176ab3f2974009d2e5e430db68 1 parent d0a0df0
@halkyon halkyon authored
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 {
Please sign in to comment.
Something went wrong with that request. Please try again.