44 $customerSecure = $this->customerRegistry->retrieveSecureData(
$customerId);
46 $this->customerResourceModel->getConnection()->update(
47 $this->customerResourceModel->getTable(
'customer_entity'),
49 'failures_num' => $customerSecure->getData(
'failures_num'),
50 'first_failure' => $customerSecure->getData(
'first_failure'),
51 'lock_expires' => $customerSecure->getData(
'lock_expires'),
53 $this->customerResourceModel->getConnection()->quoteInto(
'entity_id = ?',
$customerId)
__construct(\Magento\Customer\Model\CustomerRegistry $customerRegistry, \Magento\Customer\Model\ResourceModel\Customer $customerResourceModel)