◆ __construct()
- Parameters
-
\Magento\Customer\Model\CustomerRegistry | $customerRegistry | |
\Magento\Customer\Model\ResourceModel\Customer | $customerResourceModel | |
Definition at line 28 of file CustomerAuthUpdate.php.
◆ saveAuth()
Reset Authentication data for customer.
- Parameters
-
- Returns
- $this
Definition at line 42 of file CustomerAuthUpdate.php.
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)
◆ $customerRegistry
◆ $customerResourceModel
The documentation for this class was generated from the following file: