MageMatch Customer Password Reset CLI
magematch/magento2-customer-password-reset-cli
Adds a CLI command to generate password reset tokens and send reset emails to customers — by exact email, by customer ID lower bound, or for all customers — with a dedicated log file. Useful for bulk-forcing password resets.
Build Tests
Code Quality
Tested on Magento 2.4.9
Recent Test History
Each release is tested against the latest Magento version at that time.
Looking for Contributors
Dependency injection compilation fails. Your contribution could help the entire Magento community!
Share This Module's Status
README
Loaded from GitHubCustomer Password Reset CLI for Magento 2
Free, open-source Magento 2 extension
by Arjun Dhiman — Adobe Commerce Certified Master
Part of the MageMatch developer ecosystem
MageMatch_PasswordReset provides a Magento CLI command that generates password reset tokens and triggers reset emails for selected customers.
Features
- CLI command:
password:reset - Reset by exact email (
--email) - Reset by customer id lower bound (
--customer_id) - Reset for all customers (no option)
- Dedicated module log file:
var/log/passwordreset.log
Usage
Reset for one email:
php bin/magento password:reset --email customer@example.com
Reset for customer IDs greater than or equal to a value:
php bin/magento password:reset --customer_id 1000
Reset all customers:
php bin/magento password:reset
CI Matrix
Workflow file: .github/workflows/ci.yml
Runs validation on:
- PHP
8.2 - PHP
8.4
Checks:
composer validate --no-check-lock --strict- PHP syntax lint (
php -l) - XML well-formedness
Installation
composer require magematch/magento2-customer-password-reset-cli
bin/magento module:enable MageMatch_CustomerPasswordResetCli
bin/magento setup:upgrade
bin/magento cache:clean
Compatibility
- Magento Open Source 2.4.x
- Adobe Commerce 2.4.x
- PHP 8.1, 8.2, 8.3
Support & Custom Development
Need custom Magento development?
Find vetted Adobe Commerce developers at
magematch.com
License
MIT License — free to use commercially
This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.