Skip to content

Vinai/module-customer-password-command

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Set a customer password

Since Magento 2 no longer provides facilities to set a customers password, this command can come in handy during development when working with testing customer accounts.

Installation

composer config repositories.vinaikopp-customer-password-command vcs https://github.com/Vinai/module-customer-password-command.git
composer require vinaikopp/module-customer-password-command:dev-master
bin/magento setup:upgrade

Usage

Call the command and pass the customers email address and the new password.

bin/magento customer:change-password [email protected] password123

If customer accounts are not shared between websites, a website code has to be specified with the --website or -w option.

bin/magento customer:change-password --website base [email protected] password123

About

Set a customer password with bin/magento.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages