Skip to content

Commit

Permalink
Trim email address in forgot password form
Browse files Browse the repository at this point in the history
  • Loading branch information
dankhrapiyush authored and gelanivishal committed Jul 9, 2018
1 parent 6fd1eda commit f00c37a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<div class="field email required">
<label for="email_address" class="label"><span><?= $block->escapeHtml(__('Email')) ?></span></label>
<div class="control">
<input type="email" name="email" alt="email" id="email_address" class="input-text" value="<?= $block->escapeHtmlAttr($block->getEmailValue()) ?>" data-validate="{required:true, 'validate-email':true}">
<input type="email" name="email" alt="email" id="email_address" class="input-text" value="<?= $block->escapeHtmlAttr($block->getEmailValue()) ?>" data-mage-init='{"mage/trim-input":{}}' data-validate="{required:true, 'validate-email':true}">
</div>
</div>
<?= $block->getChildHtml('form_additional_info') ?>
Expand Down

0 comments on commit f00c37a

Please sign in to comment.