Skip to content

Commit 9eee487

Browse files
author
Mohan Ahuja
committed
ACP2E-98: Customer with global account sharing has to login again in the secondary website when guest checkout is disabled
- Fixed CR comments
1 parent 02b7f85 commit 9eee487

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/code/Magento/Customer/ViewModel/Customer/StoreConfig.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* See COPYING.txt for license details.
55
*/
66

7+
declare(strict_types=1);
8+
79
namespace Magento\Customer\ViewModel\Customer;
810

911
use Magento\Customer\Model\Config\Share as ConfigShare;

app/code/Magento/Customer/view/frontend/templates/account/authentication-popup.phtml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ $viewModel = $block->getViewModel();
1313
<?php $scriptString = 'window.authenticationPopup = ' . /* @noEscape */ $block->getSerializedConfig(); ?>
1414
<?= /* @noEscape */ $secureRenderer->renderTag('script', [], $scriptString, false); ?>
1515
<!-- ko template: getTemplate() --><!-- /ko -->
16-
<?php // phpcs:disable?>
16+
<?php // phpcs:ignore Magento2.Legacy.PhtmlTemplate ?>
1717
<script type="text/x-magento-init">
1818
{
1919
"#authenticationPopup": {
@@ -30,5 +30,4 @@ $viewModel = $block->getViewModel();
3030
}
3131
}
3232
</script>
33-
<?php // phpcs:enable?>
3433
</div>

0 commit comments

Comments
 (0)