digitalpianism / changepassword
A small module to be able to change customer password via the console in Magento 2
Installs: 195
Dependents: 0
Suggesters: 0
Security: 0
Stars: 18
Watchers: 4
Forks: 4
Open Issues: 2
Type:magento2-module
Requires
- php: ~5.5.0|~5.6.0|~7.0.0
This package is auto-updated.
Last update: 2024-04-28 20:32:19 UTC
README
A small module to be able to change customer password via the console in Magento 2.
Tested on 2.1.2
Setup
First install the module using composer:
composer require digitalpianism/changepassword
Next, once the module is installed, set it up:
php bin/magento setup:upgrade
php bin/magento module:enable DigitalPianism_ChangePassword
Command example
php bin/magento customer:changepassword --customer-id=3 --customer-password=mynewpassword
Where:
- 3 is a customer id
- mynewpassword is the new password for this customer