mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Update src/Security/Member.php
Co-authored-by: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com>
This commit is contained in:
parent
93d03f71ef
commit
6c2b5bdbe1
@ -797,7 +797,7 @@ class Member extends DataObject
|
||||
if (!$this->ID || $this->isChanged('Password')) {
|
||||
$this->encryptPassword();
|
||||
}
|
||||
if(! $this->PasswordEncryption) {
|
||||
if (!$this->PasswordEncryption) {
|
||||
$this->PasswordEncryption = Security::config()->get('password_encryption_algorithm');
|
||||
}
|
||||
// save locale
|
||||
|
Loading…
Reference in New Issue
Block a user