Update src/Security/Member.php

Co-authored-by: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com>
This commit is contained in:
Sunny Side Up 2023-08-15 17:06:46 +12:00 committed by GitHub
parent 93d03f71ef
commit 6c2b5bdbe1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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