mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-02 14:18:46 +02:00
Merge pull request #233 from halkyon/master
Fixed regression where PasswordEncryption field not set on Member
This commit is contained in:
commit
9302137125
@ -659,7 +659,7 @@ class Member extends DataObject implements TemplateGlobalProvider {
|
|||||||
$encryption_details = Security::encrypt_password(
|
$encryption_details = Security::encrypt_password(
|
||||||
$this->Password, // this is assumed to be cleartext
|
$this->Password, // this is assumed to be cleartext
|
||||||
$this->Salt,
|
$this->Salt,
|
||||||
$this->PasswordEncryption,
|
($this->PasswordEncryption) ? $this->PasswordEncryption : Security::get_password_encryption_algorithm(),
|
||||||
$this
|
$this
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -627,4 +627,4 @@ class MemberTest_PasswordValidator extends PasswordValidator {
|
|||||||
$this->characterStrength(3, array('lowercase','uppercase','digits','punctuation'));
|
$this->characterStrength(3, array('lowercase','uppercase','digits','punctuation'));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user