Log in
Model

ConfirmCustomerByToken

Magento\Customer\Model\ForgotPasswordToken\ConfirmCustomerByToken

What it does

This class handles customer account confirmation when a customer uses a password reset token.

Developers use this class to automatically confirm customer accounts during the forgot password flow, removing the need for separate email confirmation when a customer successfully initiates a password reset.

Public Methods

  • execute()
  • resetCustomerConfirmation()