private function resetPasswordEncryption()
    {
        $defaultEncryption = Security::config()->get('password_encryption_algorithm');
        if ($this->owner->PasswordEncryption != $defaultEncryption) {
            DB::prepared_query(
                'UPDATE "Member" SET "PasswordEncryption" = ? WHERE ID = ?',
                [$defaultEncryption, $this->owner->ID]
            );
        }
    }
private function resetPasswordEncryption()
    {
        $defaultEncryption = Security::config()->get('password_encryption_algorithm');
        if ($this->owner->PasswordEncryption != $defaultEncryption) {
            DB::prepared_query(
                'UPDATE "Member" SET "PasswordEncryption" = ? WHERE ID = ?',
                [$defaultEncryption, $this->owner->ID]
            );
        }
    }
private function resetPasswordEncryption ( ) { $ defaultEncryption = Security :: config ( ) -> get ( 'password_encryption_algorithm' ) ; if ( $ this -> owner -> PasswordEncryption != $ defaultEncryption ) { DB :: prepared_query ( 'UPDATE "Member" SET "PasswordEncryption" = ? WHERE ID = ?' , [ $ defaultEncryption , $ this -> owner -> ID ] ) ; } }
Reset the password encryption for the member to the config default.
Passwords from Foxy are encrypted so the encryption type is set to "none" when processing
the account from the data feed. Reseting is required for login to work on the website.
Reset the password encryption for the member to the config default . Passwords from Foxy are encrypted so the encryption type is set to none when processing the account from the data feed . Reseting is required for login to work on the website .