digitalpianism/changepassword

一个用于在 Magento 2 中通过控制台更改客户密码的小型模块

安装: 195

依赖项: 0

建议者: 0

安全性: 0

星标: 18

关注者: 4

分支: 4

公开问题: 2

类型:magento2-module

0.0.1 2016-11-23 09:51 UTC

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 是此客户的新的密码