Set a customer password with bin/magento.

Overview

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
You might also like...
Laravel Nova integration for justbetter/laravel-magento-customer-prices

Laravel Magento Customer Prices Nova Laravel Nova integration for justbetter/laravel-magento-customer-prices. Installation Install the package. compos

Package to send customer specific prices to Magento from a Laravel application using a configurable source.

Laravel Magento Customer Prices This package provides a way to add customer specific prices to Magento from a Laravel app. By default, it uses the Mag

This package contains a PHP implementation to solve 3D bin packing problems.

3D Bin Packager This package contains a PHP implementation to solve 3d bin packing problems based on gedex implementation on Go and enzoruiz implement

A Composer Package which installs the PhantomJS binary (Linux, Windows, Mac) into /bin of your project.

phantomjs-installer A Composer package which installs the PhantomJS binary (Linux, Windows, Mac) into /bin of your project. Table of Contents Installa

Opinionated version of Wikimedia composer-merge-plugin to work in pair with Bamarni composer-bin-plugin.

Composer Inheritance Plugin Opinionated version of Wikimedia composer-merge-plugin to work in pair with bamarni/composer-bin-plugin. Usage If you are

Phpcs-magento-rules - A set of PHPCS rules used by made.com when hacking Magento

Made.com PHPCS Magento Rules A set of PHPCS rules used by made.com when hacking Magento. Pre-Requisites PHPCS Installation Short Version Clone this re

Naive Bayes works by looking at a training set and making a guess based on that set.

Naive Bayes Naive Bayes works by looking at a training set and making a guess based on that set. It uses simple statistics and a bit of math to calcul

SuiteCRM is the award-winning open-source, enterprise-ready Customer Relationship Management (CRM) software application.
SuiteCRM is the award-winning open-source, enterprise-ready Customer Relationship Management (CRM) software application.

SuiteCRM is the award-winning open-source, enterprise-ready Customer Relationship Management (CRM) software application.

Akaunting module to use employee as a customer

Associate Employee to customer App for Akaunting to associate employee to customer. With this app contacts with the employee type can be used as custo

Comments
  • Php 7.2 compat

    Php 7.2 compat

    Hi, I am using/upgrading to Magento 2.3. The problem is, that the extension only works with 7.1 and magento/framework 1.101. Could you update the extension for php 7.2? Greetings Jan

    opened by jg-development 4
  • Magento 2.4 compatibility

    Magento 2.4 compatibility

    The requirements don't cope with Magento version 2.4 anymore.

    For example magento/product-community-edition 2.4.0 requires magento/framework 103.0.0

      "require": {
        "php": "^7.0.0|^7.1.0|^7.2.0",
        "magento/module-customer": "^100.1.1|^101.0|^102.0",
        "magento/framework": "^100.1.1|^101.0|^102.0",
        "symfony/console": "~2.3|~4.1"
      },
    
    opened by Morgy93 3
  • Error with CustomerChangePasswordCommand.php

    Error with CustomerChangePasswordCommand.php

    Warning: Unsupported declare 'strict_types' in /vendor/vinaikopp/module-customer-password-command/Command/CustomerChangePasswordCommand.php on line 3

    Parse error: syntax error, unexpected ':', expecting ';' or '{' in /vendor/vinaikopp/module-customer-password-command/Command/CustomerChangePasswordCommand.php on line 86

    opened by EL-Nazer 1
Owner
Vinai Kopp
Vinai Kopp
This Magento extension provides a Real Full Page Caching for Magento powered by Varnish with support of Session-Based information caching (Cart, Customer Accounts, ...) via ESI includes

This Magento extension provides a Real Full Page Caching (FPC) for Magento powered by Varnish with support of Session-Based information caching (Cart, Customer Accounts, ...) via ESI includes

Hugues Alary 95 Feb 11, 2022
bin/magento command to display configured preferences for classes or interfaces

bin/magento command to display configured preferences for classes or interfaces A bin/magento command that will show you the configured preferences fo

David Manners 14 Jul 18, 2022
A faster drop in replacement for bin/magento cache:clean with file watcher

"You know, hope is a mistake. If you can't fix what's broken, you'll, uh... you'll go insane." - Max Rockatansky Magento 2 Cache Clean A faster drop i

mage2tv 460 Dec 26, 2022
Magento 2 module to quickly acces products, orders and customer from admin menu

Magento 2 module to quickly access product, order or customer views Introduction The Magento 2 backend can be sluggish. Ever wanted to access a produc

null 1 Dec 3, 2021
Extends the customer functionality of Magento.

FireGento_Customer This extension extends the core functionality of the customer module of Magento. It is possible to temporarily lock the user accoun

FireGento e. V. 23 Apr 1, 2022
Magento extension which makes it impossible for a customer to log in until the account has been activated by the administrator.

This Magento 1 extension is orphaned, unsupported and no longer maintained. If you use it, you are effectively adopting the code for your own project.

Vinai Kopp 120 Oct 10, 2022
Force Customer Login Module for Magento 2

Force Login Module for Magento® 2 The Force Login Module for Magento® 2 allows you to restrict which pages a visitor is able to see. Visitors get redi

bitExpert AG 153 Oct 30, 2022
Magento 2 Module that adds Donation Product Type. Enables the customer to add a donation (product) of a preferred amount to the cart.

Magento 2 Module Experius DonationProduct (RC1.0) Demo website: https://donationproduct.experius.nl Magento Marketplace: https://marketplace.magento.c

Experius 23 Apr 1, 2022
Magento 2 custom extension to add custom attributes(longitude, latitude) to customer address

Magento 2 custom extension to add custom attributes(longitude, latitude) to customer address. Then save them to quote model and copy them from quote address to order address on bakend, frontend, rest api

MageArab 2 Jul 14, 2022