Use the below code to unlock a customer programmatically.
1 |
$customer->setFailedLogins(0)->setLastFailedLogin(0)->save(); |
Unlock customer programmatically
You want or need help implementing this solution? Maybe you did not find what you were looking for? Contact me and I will assist you with whatever Magento problem troubles you!