diff --git a/vendor/magento/module-customer-custom-attributes/view/frontend/templates/customer/form/register.phtml b/vendor/magento/module-customer-custom-attributes/view/frontend/templates/customer/form/register.phtml index 626a9b36a64..49168381b27 100644 --- a/vendor/magento/module-customer-custom-attributes/view/frontend/templates/customer/form/register.phtml +++ b/vendor/magento/module-customer-custom-attributes/view/frontend/templates/customer/form/register.phtml @@ -23,6 +23,8 @@ $addressHelper = $block->getData('addressHelper'); /** @var \Magento\Directory\Helper\Data $directoryHelper */ $directoryHelper = $block->getData('directoryHelper'); $formData = $block->getFormData(); +/** @var \Magento\Customer\ViewModel\CreateAccountButton $createAccountButtonViewModel */ +$createAccountButtonViewModel = $block->getData('create_account_button_view_model'); ?>