Type
magento2-module
'Login As' module for Magento 2.
magento2-module
MIT
None
None
None
None
None
This extension adds ability for backend users (adminhtml) to log in as customers (frontend).
Login here as: * user: fl32_loginas_full * password: Ss4N1i1Poq8bOjzbcOWi
$ 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
"require": {
"flancer32/mage2_ext_login_as": "^0.1"
}
See here.
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:
bash
$ rm ./auth.json