Use the below code to unlock a customer programmatically.
|
1 |
$customer->setFailedLogins(0)->setLastFailedLogin(0)->save(); |
Unlock customer programmatically
Need help implementing this solution, or still looking for a fix to your Magento problem? Get in touch and I will be happy to help with your project.