PHP code example of magematch / magento2-customer-password-reset-cli
1. Go to this page and download the library: Download magematch/magento2-customer-password-reset-cli library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
magematch / magento2-customer-password-reset-cli example snippets
bash
php bin/magento password:reset --email [email protected]
bash
php bin/magento password:reset --customer_id 1000
bash
php bin/magento password:reset