diff --git a/app/code/Magento/Customer/view/frontend/templates/form/register.phtml b/app/code/Magento/Customer/view/frontend/templates/form/register.phtml index 43e4e92fd0904..0f7648265ef8b 100644 --- a/app/code/Magento/Customer/view/frontend/templates/form/register.phtml +++ b/app/code/Magento/Customer/view/frontend/templates/form/register.phtml @@ -142,6 +142,7 @@ class="input-text" data-password-min-length="= $block->escapeHtmlAttr($block->getMinimumPasswordLength()) ?>" data-password-min-character-sets="= $block->escapeHtmlAttr($block->getRequiredCharacterClassesNumber()) ?>" + data-mage-init='{"mage/trim-input":{}}' data-validate="{required:true, 'validate-customer-password':true}" autocomplete="off">