digitalpianism / changepassword
一个用于在 Magento 2 中通过控制台更改客户密码的小型模块
0.0.1
2016-11-23 09:51 UTC
Requires
- php: ~5.5.0|~5.6.0|~7.0.0
This package is auto-updated.
Last update: 2024-09-28 21:21:15 UTC
README
一个在 Magento 2 中通过控制台更改客户密码的小型模块。
在 2.1.2 版本上测试过
安装
首先使用 composer 安装模块
composer require digitalpianism/changepassword
接下来,模块安装完成后,进行配置
php bin/magento setup:upgrade
php bin/magento module:enable DigitalPianism_ChangePassword
命令示例
php bin/magento customer:changepassword --customer-id=3 --customer-password=mynewpassword
位置
- 3 是客户 ID
- mynewpassword 是此客户的新的密码