mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX Fixed regression where Member::PasswordEncryption field wouldn't be set to the default
This commit is contained in:
parent
033a1e593a
commit
d28da56e19
@ -659,7 +659,7 @@ class Member extends DataObject implements TemplateGlobalProvider {
|
||||
$encryption_details = Security::encrypt_password(
|
||||
$this->Password, // this is assumed to be cleartext
|
||||
$this->Salt,
|
||||
$this->PasswordEncryption,
|
||||
($this->PasswordEncryption) ? $this->PasswordEncryption : Security::get_password_encryption_algorithm(),
|
||||
$this
|
||||
);
|
||||
|
||||
|
@ -627,4 +627,4 @@ class MemberTest_PasswordValidator extends PasswordValidator {
|
||||
$this->characterStrength(3, array('lowercase','uppercase','digits','punctuation'));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user