mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUGFIX Remove use of encryptPasswords; use PasswordEncryptor_None
instead
This commit is contained in:
parent
d0a0df0b8e
commit
2644cbb6e9
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user