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(
|
||||
$this->Password, // this is assumed to be cleartext
|
||||
$this->Salt,
|
||||
$this->PasswordEncryption,
|
||||
($this->PasswordEncryption) ? $this->PasswordEncryption : Security::get_password_encryption_algorithm(),
|
||||
$this
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user