Skip to content

Commit

Permalink
added escapeUrl to front template
Browse files Browse the repository at this point in the history
  • Loading branch information
ihorvansach committed Jul 3, 2023
1 parent 06e9bf7 commit c038380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion view/frontend/templates/login.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{
"*": {
"Magefan_LoginAsCustomer/js/login": {
"redirectUrl": "<?= $block->getUrl('customer/account/index') ?>"
"redirectUrl": "<?= $block->escapeUrl($block->getUrl('customer/account/index')) ?>"
}
}
}
Expand Down

0 comments on commit c038380

Please sign in to comment.