magematch / magento2-customer-password-reset-cli
Magento 2 CLI module to send customer password reset links by email or customer-id range.
Package info
github.com/magematch/magento2-customer-password-reset-cli
Type:magento2-module
pkg:composer/magematch/magento2-customer-password-reset-cli
Requires
- php: >=8.1
- magento/framework: ^103.0
README
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