Skip to content

Commit 80ff69a

Browse files
authored
Merge pull request #45 from magefan/11626-hyva-compatibility
Update login.phtml
2 parents 554d048 + 39b64ba commit 80ff69a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

view/frontend/templates/login.phtml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,9 @@
1717
}
1818
}
1919
</script>
20+
<?php /** Hyva */ ?>
21+
<script type="text/javascript">
22+
if (!window.require) {
23+
window.location.href = '<?= $block->getUrl('customer/account/index') ?>';
24+
}
25+
</script>

0 commit comments

Comments
 (0)