Skip to content

Commit

Permalink
Update index.phtml
Browse files Browse the repository at this point in the history
Escape HTML for user name
  • Loading branch information
trippodi authored Jul 5, 2023
1 parent 7d7e32c commit 3640c6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion view/lmc-user/user/index.phtml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div style="float:left; padding-right:16px;"><?php echo $this->gravatar($this->lmcUserIdentity()->getEmail()) ?></div>
<h3><?php echo $this->translate('Hello'); ?>, <?php echo $this->lmcUserDisplayName() ?>!</h3>
<h3><?php echo $this->translate('Hello'); ?>, <?php echo $this->escapeHtml($this->lmcUserDisplayName()) ?>!</h3>
<a href="<?php echo $this->url('lmcuser/logout') ?>">[<?php echo $this->translate('Sign Out'); ?>]</a>
<div style="clear:both;"></div>

0 comments on commit 3640c6e

Please sign in to comment.