Skip to content

Commit bf65ffc

Browse files
authored
Merge pull request #101 from ihorvansach/refactor-code-loginascustomer-ui
Moved all UI from LoginAsCustomer to new LoginAsCustomerUi module
2 parents 60bf50a + 6103998 commit bf65ffc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+125
-64
lines changed

app/code/Magento/LoginAsCustomer/composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
"magento/module-customer": "*",
99
"magento/module-sales": "*",
1010
"magento/module-store": "*",
11-
"magento/module-ui": "*",
1211
"magento/module-user": "*"
1312
},
1413
"suggest": {

app/code/Magento/LoginAsCustomer/etc/adminhtml/di.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
*/
77
-->
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
9-
<type name="Magento\Backend\Block\Widget\Button\Toolbar">
10-
<plugin name="Magento_LoginAsCustomer::toolbar_button" type="Magento\LoginAsCustomer\Plugin\Button\ToolbarPlugin" />
11-
</type>
129
<type name="Magento\Sales\Model\Order">
1310
<plugin name="lac-admin-order-placement-comment" type="Magento\LoginAsCustomer\Plugin\AdminAddCommentOnOrderPlacementPlugin"/>
1411
</type>

app/code/Magento/LoginAsCustomer/Block/Adminhtml/Login.php renamed to app/code/Magento/LoginAsCustomerUi/Block/Adminhtml/Login.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
declare(strict_types=1);
77

8-
namespace Magento\LoginAsCustomer\Block\Adminhtml;
8+
namespace Magento\LoginAsCustomerUi\Block\Adminhtml;
99

1010
/**
1111
* Login as customer log

app/code/Magento/LoginAsCustomer/Controller/Adminhtml/Login/Grid.php renamed to app/code/Magento/LoginAsCustomerUi/Controller/Adminhtml/Login/Grid.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
declare(strict_types=1);
77

8-
namespace Magento\LoginAsCustomer\Controller\Adminhtml\Login;
8+
namespace Magento\LoginAsCustomerUi\Controller\Adminhtml\Login;
99

1010
use Magento\Framework\Controller\ResultFactory;
1111
use Magento\Framework\Controller\ResultInterface;
@@ -22,7 +22,7 @@ class Grid extends Action implements HttpPostActionInterface
2222
*
2323
* @see _isAllowed()
2424
*/
25-
const ADMIN_RESOURCE = 'Magento_LoginAsCustomer::login_log';
25+
const ADMIN_RESOURCE = 'Magento_LoginAsCustomerUi::login_log';
2626

2727
/**
2828
* Login as customer log ajax grid

app/code/Magento/LoginAsCustomer/Controller/Adminhtml/Login/Index.php renamed to app/code/Magento/LoginAsCustomerUi/Controller/Adminhtml/Login/Index.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
declare(strict_types=1);
77

8-
namespace Magento\LoginAsCustomer\Controller\Adminhtml\Login;
8+
namespace Magento\LoginAsCustomerUi\Controller\Adminhtml\Login;
99

1010
use Magento\Backend\Model\View\Result\Page;
1111
use Magento\Framework\Controller\ResultFactory;
@@ -25,7 +25,7 @@ class Index extends Action implements HttpGetActionInterface, HttpPostActionInte
2525
*
2626
* @see _isAllowed()
2727
*/
28-
const ADMIN_RESOURCE = 'Magento_LoginAsCustomer::login_log';
28+
const ADMIN_RESOURCE = 'Magento_LoginAsCustomerUi::login_log';
2929

3030
/**
3131
* Login As Customer log grid action
@@ -42,7 +42,7 @@ public function execute():ResultInterface
4242

4343
/** @var Page $resultPage */
4444
$resultPage = $this->resultFactory->create(ResultFactory::TYPE_PAGE);
45-
$resultPage->setActiveMenu('Magento_LoginAsCustomer::login_log')
45+
$resultPage->setActiveMenu('Magento_LoginAsCustomerUi::login_log')
4646
->addBreadcrumb(__('Customer'), __('Login As Customer Log'));
4747
$resultPage->getConfig()->getTitle()->prepend(__('Login As Customer Log'));
4848

app/code/Magento/LoginAsCustomer/Controller/Adminhtml/Login/Login.php renamed to app/code/Magento/LoginAsCustomerUi/Controller/Adminhtml/Login/Login.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
declare(strict_types=1);
77

8-
namespace Magento\LoginAsCustomer\Controller\Adminhtml\Login;
8+
namespace Magento\LoginAsCustomerUi\Controller\Adminhtml\Login;
99

1010
use Magento\Framework\Controller\ResultInterface;
1111
use Magento\Framework\App\Action\HttpGetActionInterface;
@@ -28,7 +28,7 @@ class Login extends Action implements HttpGetActionInterface, HttpPostActionInte
2828
*
2929
* @see _isAllowed()
3030
*/
31-
const ADMIN_RESOURCE = 'Magento_LoginAsCustomer::login_button';
31+
const ADMIN_RESOURCE = 'Magento_LoginAsCustomerUi::login_button';
3232

3333
/**
3434
* @var \Magento\Backend\Model\Auth\Session

app/code/Magento/LoginAsCustomer/Controller/Adminhtml/Login/Manual.php renamed to app/code/Magento/LoginAsCustomerUi/Controller/Adminhtml/Login/Manual.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
declare(strict_types=1);
77

8-
namespace Magento\LoginAsCustomer\Controller\Adminhtml\Login;
8+
namespace Magento\LoginAsCustomerUi\Controller\Adminhtml\Login;
99

1010
use Magento\Backend\Model\View\Result\Page;
1111
use Magento\Framework\Controller\ResultFactory;
@@ -23,7 +23,7 @@ class Manual extends Action implements HttpGetActionInterface
2323
*
2424
* @see _isAllowed()
2525
*/
26-
const ADMIN_RESOURCE = 'Magento_LoginAsCustomer::login_button';
26+
const ADMIN_RESOURCE = 'Magento_LoginAsCustomerUi::login_button';
2727

2828
/**
2929
* Chose store view for Login as customer
@@ -34,7 +34,7 @@ public function execute():ResultInterface
3434
{
3535
/** @var Page $resultPage */
3636
$resultPage = $this->resultFactory->create(ResultFactory::TYPE_PAGE);
37-
$resultPage->setActiveMenu('Magento_LoginAsCustomer::login_button')
37+
$resultPage->setActiveMenu('Magento_LoginAsCustomerUi::login_button')
3838
->addBreadcrumb(__('Customer'), __('Login As Customer Log'), __('Store View To Login In'));
3939
$resultPage->getConfig()->getTitle()->prepend(__('Store View To Login In'));
4040

app/code/Magento/LoginAsCustomer/Controller/Login/Index.php renamed to app/code/Magento/LoginAsCustomerUi/Controller/Login/Index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
declare(strict_types=1);
77

8-
namespace Magento\LoginAsCustomer\Controller\Login;
8+
namespace Magento\LoginAsCustomerUi\Controller\Login;
99

1010
use Magento\Framework\App\RequestInterface;
1111
use Magento\Framework\Controller\Result\Redirect;

app/code/Magento/LoginAsCustomer/Controller/Login/Proceed.php renamed to app/code/Magento/LoginAsCustomerUi/Controller/Login/Proceed.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
declare(strict_types=1);
77

8-
namespace Magento\LoginAsCustomer\Controller\Login;
8+
namespace Magento\LoginAsCustomerUi\Controller\Login;
99

1010
use Magento\Backend\Model\View\Result\Page;
1111
use Magento\Framework\Controller\ResultFactory;

app/code/Magento/LoginAsCustomer/CustomerData/LoginAsCustomer.php renamed to app/code/Magento/LoginAsCustomerUi/CustomerData/LoginAsCustomerUi.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
declare(strict_types=1);
77

8-
namespace Magento\LoginAsCustomer\CustomerData;
8+
namespace Magento\LoginAsCustomerUi\CustomerData;
99

1010
use Magento\Customer\CustomerData\SectionSourceInterface;
1111
use Magento\Customer\Model\Session;
@@ -16,7 +16,7 @@
1616
*
1717
* @SuppressWarnings(PHPMD.CookieAndSessionMisuse)
1818
*/
19-
class LoginAsCustomer implements SectionSourceInterface
19+
class LoginAsCustomerUi implements SectionSourceInterface
2020
{
2121
/**
2222
* @var Session
@@ -29,7 +29,7 @@ class LoginAsCustomer implements SectionSourceInterface
2929
private $storeManager;
3030

3131
/**
32-
* LoginAsCustomer constructor.
32+
* LoginAsCustomerUi constructor.
3333
* @param Session $customerSession
3434
* @param StoreManagerInterface $storeManager
3535
*/

app/code/Magento/LoginAsCustomer/Model/Config/Source/StoreViewLogin.php renamed to app/code/Magento/LoginAsCustomerUi/Model/Config/Source/StoreViewLogin.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@
55
*/
66
declare(strict_types=1);
77

8-
namespace Magento\LoginAsCustomer\Model\Config\Source;
8+
namespace Magento\LoginAsCustomerUi\Model\Config\Source;
99

1010
/**
1111
* Class StoreViewLogin
12-
* @package Magento\LoginAsCustomer\Model\Config\Source
1312
*/
1413
class StoreViewLogin implements \Magento\Framework\Data\OptionSourceInterface
1514
{

app/code/Magento/LoginAsCustomer/Model/Login.php renamed to app/code/Magento/LoginAsCustomerUi/Model/Login.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
declare(strict_types=1);
77

8-
namespace Magento\LoginAsCustomer\Model;
8+
namespace Magento\LoginAsCustomerUi\Model;
99

1010
/**
1111
* Login model
@@ -19,6 +19,6 @@ class Login extends \Magento\Framework\Model\AbstractModel
1919
*/
2020
protected function _construct()
2121
{
22-
$this->_init(\Magento\LoginAsCustomer\Model\ResourceModel\Login::class);
22+
$this->_init(\Magento\LoginAsCustomerUi\Model\ResourceModel\Login::class);
2323
}
2424
}

app/code/Magento/LoginAsCustomer/Model/PageCache/ConfigPlugin.php renamed to app/code/Magento/LoginAsCustomerUi/Model/PageCache/ConfigPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
declare(strict_types=1);
77

8-
namespace Magento\LoginAsCustomer\Model\PageCache;
8+
namespace Magento\LoginAsCustomerUi\Model\PageCache;
99

1010
/**
1111
* Page cache config plugin

app/code/Magento/LoginAsCustomer/Model/ResourceModel/Login.php renamed to app/code/Magento/LoginAsCustomerUi/Model/ResourceModel/Login.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
*/
66
declare(strict_types=1);
77

8-
namespace Magento\LoginAsCustomer\Model\ResourceModel;
8+
namespace Magento\LoginAsCustomerUi\Model\ResourceModel;
99

1010
/**
11-
* LoginAsCustomer resource model
11+
* LoginAsCustomerUi resource model
1212
*/
1313
class Login extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb
1414
{

app/code/Magento/LoginAsCustomer/Model/ResourceModel/Login/Collection.php renamed to app/code/Magento/LoginAsCustomerUi/Model/ResourceModel/Login/Collection.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
*/
66
declare(strict_types=1);
77

8-
namespace Magento\LoginAsCustomer\Model\ResourceModel\Login;
8+
namespace Magento\LoginAsCustomerUi\Model\ResourceModel\Login;
99

1010
/**
11-
* LoginAsCustomer collection
11+
* LoginAsCustomerUi collection
1212
*/
1313
class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection
1414
{
@@ -21,6 +21,6 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab
2121
protected function _construct()
2222
{
2323
parent::_construct();
24-
$this->_init(\Magento\LoginAsCustomer\Model\Login::class, \Magento\LoginAsCustomer\Model\ResourceModel\Login::class);
24+
$this->_init(\Magento\LoginAsCustomerUi\Model\Login::class, \Magento\LoginAsCustomerUi\Model\ResourceModel\Login::class);
2525
}
2626
}

app/code/Magento/LoginAsCustomer/Model/ResourceModel/Login/Grid/Collection.php renamed to app/code/Magento/LoginAsCustomerUi/Model/ResourceModel/Login/Grid/Collection.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
*/
66
declare(strict_types=1);
77

8-
namespace Magento\LoginAsCustomer\Model\ResourceModel\Login\Grid;
8+
namespace Magento\LoginAsCustomerUi\Model\ResourceModel\Login\Grid;
99

1010
/**
11-
* LoginAsCustomer collection
11+
* LoginAsCustomerUi collection
1212
*/
13-
class Collection extends \Magento\LoginAsCustomer\Model\ResourceModel\Login\Collection
13+
class Collection extends \Magento\LoginAsCustomerUi\Model\ResourceModel\Login\Collection
1414
{
1515
/**
1616
* Constructor

app/code/Magento/LoginAsCustomer/Plugin/Button/ToolbarPlugin.php renamed to app/code/Magento/LoginAsCustomerUi/Plugin/Button/ToolbarPlugin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
declare(strict_types=1);
77

8-
namespace Magento\LoginAsCustomer\Plugin\Button;
8+
namespace Magento\LoginAsCustomerUi\Plugin\Button;
99

1010
use Magento\Backend\Block\Widget\Button\ButtonList;
1111
use Magento\Backend\Block\Widget\Button\Toolbar;
@@ -91,6 +91,6 @@ public function beforePushButtons(
9191
*/
9292
private function isAllowed(): bool
9393
{
94-
return (bool)$this->authorization->isAllowed('Magento_LoginAsCustomer::login_button');
94+
return (bool)$this->authorization->isAllowed('Magento_LoginAsCustomerUi::login_button');
9595
}
9696
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Magento_LoginAsCustomerSales module
2+
3+
The Magento_LoginAsCustomerUi module provides UI for Magento_LoginAsCustomerUi

app/code/Magento/LoginAsCustomer/Ui/Customer/Component/Control/LoginAsCustomerButton.php renamed to app/code/Magento/LoginAsCustomerUi/Ui/Customer/Component/Control/LoginAsCustomerButton.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
declare(strict_types=1);
77

8-
namespace Magento\LoginAsCustomer\Ui\Customer\Component\Control;
8+
namespace Magento\LoginAsCustomerUi\Ui\Customer\Component\Control;
99

1010
use Magento\Customer\Block\Adminhtml\Edit\GenericButton;
1111
use Magento\Framework\View\Element\UiComponent\Control\ButtonProviderInterface;
@@ -39,7 +39,7 @@ public function getButtonData(): array
3939
{
4040
$customerId = $this->getCustomerId();
4141
$data = [];
42-
$canModify = $customerId && $this->authorization->isAllowed('Magento_LoginAsCustomer::login_button');
42+
$canModify = $customerId && $this->authorization->isAllowed('Magento_LoginAsCustomerUi::login_button');
4343
if ($canModify) {
4444
$data = [
4545
'label' => __('Login As Customer'),

app/code/Magento/LoginAsCustomer/Ui/Store/Component/Control/LoginAsCustomerButton.php renamed to app/code/Magento/LoginAsCustomerUi/Ui/Store/Component/Control/LoginAsCustomerButton.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
declare(strict_types=1);
77

8-
namespace Magento\LoginAsCustomer\Ui\Store\Component\Control;
8+
namespace Magento\LoginAsCustomerUi\Ui\Store\Component\Control;
99

1010
use Magento\Framework\View\Element\UiComponent\Control\ButtonProviderInterface;
1111

app/code/Magento/LoginAsCustomer/Ui/Store/DataProvider/Form/StoreDataProvider.php renamed to app/code/Magento/LoginAsCustomerUi/Ui/Store/DataProvider/Form/StoreDataProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
declare(strict_types=1);
77

8-
namespace Magento\LoginAsCustomer\Ui\Store\DataProvider\Form;
8+
namespace Magento\LoginAsCustomerUi\Ui\Store\DataProvider\Form;
99

1010
use Magento\Customer\Model\ResourceModel\Customer\CollectionFactory;
1111
use Magento\Ui\DataProvider\AbstractDataProvider;

app/code/Magento/LoginAsCustomer/ViewModel/Configuration.php renamed to app/code/Magento/LoginAsCustomerUi/ViewModel/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
declare(strict_types=1);
77

8-
namespace Magento\LoginAsCustomer\ViewModel;
8+
namespace Magento\LoginAsCustomerUi\ViewModel;
99

1010
use Magento\Customer\Model\Context;
1111

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": "magento/module-login-as-customer-ui",
3+
"description": "",
4+
"require": {
5+
"php": "~7.1.3||~7.2.0||~7.3.0",
6+
"magento/framework": "*",
7+
"magento/module-login-as-customer": "*",
8+
"magento/module-backend": "*",
9+
"magento/module-customer": "*",
10+
"magento/module-sales": "*",
11+
"magento/module-store": "*",
12+
"magento/module-ui": "*",
13+
"magento/module-user": "*"
14+
},
15+
"type": "magento2-module",
16+
"license": [
17+
"OSL-3.0",
18+
"AFL-3.0"
19+
],
20+
"autoload": {
21+
"files": [ "registration.php" ],
22+
"psr-4": {
23+
"Magento\\LoginAsCustomerUi\\": ""
24+
}
25+
}
26+
}

app/code/Magento/LoginAsCustomer/etc/acl.xml renamed to app/code/Magento/LoginAsCustomerUi/etc/acl.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
<resources>
1111
<resource id="Magento_Backend::admin">
1212
<resource id="Magento_Customer::customer">
13-
<resource id="Magento_LoginAsCustomer::login" title="Login as Customer" sortOrder="50">
14-
<resource id="Magento_LoginAsCustomer::login_button" title="Allow Login as Customer Button" sortOrder="10" />
15-
<resource id="Magento_LoginAsCustomer::login_log" title="View Login as Customer Log" sortOrder="20" />
13+
<resource id="Magento_LoginAsCustomerUi::login" title="Login as Customer" sortOrder="50">
14+
<resource id="Magento_LoginAsCustomerUi::login_button" title="Allow Login as Customer Button" sortOrder="10" />
15+
<resource id="Magento_LoginAsCustomerUi::login_log" title="View Login as Customer Log" sortOrder="20" />
1616
</resource>
1717
</resource>
1818
<resource id="Magento_Backend::stores">
1919
<resource id="Magento_Backend::stores_settings">
2020
<resource id="Magento_Config::config">
21-
<resource id="Magento_LoginAsCustomer::config_section" title="Login as Customer Section" />
21+
<resource id="Magento_LoginAsCustomerUi::config_section" title="Login as Customer Section" />
2222
</resource>
2323
</resource>
2424
</resource>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" ?>
2+
<!--
3+
/**
4+
* Copyright © Magento, Inc. All rights reserved.
5+
* See COPYING.txt for license details.
6+
*/
7+
-->
8+
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
9+
<type name="Magento\Backend\Block\Widget\Button\Toolbar">
10+
<plugin name="login_as_customer_button_toolbar" type="Magento\LoginAsCustomerUi\Plugin\Button\ToolbarPlugin" />
11+
</type>
12+
</config>

app/code/Magento/LoginAsCustomer/etc/adminhtml/menu.xml renamed to app/code/Magento/LoginAsCustomerUi/etc/adminhtml/menu.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
-->
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Backend:etc/menu.xsd">
99
<menu>
10-
<add id="Magento_LoginAsCustomer::login_log" title="Login As Customer Log" module="Magento_LoginAsCustomer" parent="Magento_Customer::customer" sortOrder="40" resource="Magento_LoginAsCustomer::login_log" action="loginascustomer/login/" />
10+
<add id="Magento_LoginAsCustomerUi::login_log" title="Login As Customer Log" module="Magento_LoginAsCustomerUi" parent="Magento_Customer::customer" sortOrder="40" resource="Magento_LoginAsCustomerUi::login_log" action="loginascustomer/login/" />
1111
</menu>
1212
</config>

app/code/Magento/LoginAsCustomer/etc/adminhtml/routes.xml renamed to app/code/Magento/LoginAsCustomerUi/etc/adminhtml/routes.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:App/etc/routes.xsd">
99
<router id="admin">
1010
<route id="loginascustomer" frontName="loginascustomer">
11-
<module name="Magento_LoginAsCustomer" />
11+
<module name="Magento_LoginAsCustomerUi" />
1212
</route>
1313
</router>
1414
</config>

0 commit comments

Comments
 (0)