We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3adfbba + da9915f commit a816773Copy full SHA for a816773
app/code/Magento/LoginAsCustomer/Controller/Adminhtml/Login/Login.php
@@ -109,9 +109,9 @@ public function execute()
109
110
$user = $this->authSession->getUser();
111
$login->generate($user->getId());
112
- $customerStoreId = $this->storeManager->getStore();
+ $store = $this->storeManager->getStore();
113
114
- if (null === $customerStoreId) {
+ if (null === $store) {
115
$store = $this->storeManager->getDefaultStoreView();
116
}
117
0 commit comments