diff --git a/src/Security/Member.php b/src/Security/Member.php index 804356fab..b715f0fde 100644 --- a/src/Security/Member.php +++ b/src/Security/Member.php @@ -797,7 +797,9 @@ class Member extends DataObject if (!$this->ID || $this->isChanged('Password')) { $this->encryptPassword(); } - + if(! $this->PasswordEncryption) { + $this->PasswordEncryption = Security::config()->get('password_encryption_algorithm'); + } // save locale if (!$this->Locale) { $this->Locale = i18n::config()->get('default_locale');