flancer32/mage2_ext_login_as dev-master

'Login As' module for Magento 2.

Type

magento2-module

License

MIT

Requires
Requires (dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

"Login As Customer" extension for Magento 2.

Description

This extension adds ability for backend users (adminhtml) to log in as customers (frontend).

Features

Demo

Login here as:

  • user: fl32_loginas_full
  • password: Ss4N1i1Poq8bOjzbcOWi

Install

From console

$ cd ${DIR_MAGE_ROOT}   // go to Magento 2 root folder ('composer.json' file should be placed there)
$ composer require flancer32/mage2_ext_login_as
$ bin/magento module:enable Flancer32_LoginAs
$ bin/magento setup:upgrade
$ bin/magento setup:di:compile

Using 'composer.json'

  "require": {
    "flancer32/mage2_ext_login_as": "^0.1"
  }

Development version

See here.

Uninstall

You need an authentication keys for https://repo.magento.com/ to uninstall any Magento 2 module. Go to your Magento Connect account, section (My Account / Connect / Developer / Secure Keys) and generate pair of keys to connect to Magento 2 repository. Then place composer authentication file auth.json besides your composer.json as described here and put your authentication keys for https://repo.magento.com/ into the authentication file:

{
  "http-basic": {
    "repo.magento.com": {
      "username": "...",
      "password": "..."
    }
  }
}

Then run these commands to completely uninstall Flancer32_LoginAs module:

$ cd ${DIR_MAGE_ROOT}   
$ bin/magento module:uninstall Flancer32_Repo Flancer32_LoginAs         // *
$ composer remove flancer32/php_data_object
$ bin/magento setup:upgrade
$ bin/magento setup:di:compile

* - this fix should be presented in Magento to uninstall multiple modules at once.

Be patient, uninstall process (bin/magento module:uninstall ...) takes about 2-4 minutes. Remove auth.json file at the end:

$ rm ./auth.json