QUALITY PATCH

MDVA-39305-V3

Quality patch MDVA-39305-V3 for magento/module-re-captcha-customer applies to Magento Open Source and Adobe Commerce 2.4.4-p1 to 2.4.7-p10.

Categories
Customer, Other
Components
magento/module-re-captcha-customer, magento/module-re-captcha-frontend-ui, magento/module-re-captcha-contact, magento/module-re-captcha-newsletter, magento/module-re-captcha-review, magento/module-re-captcha-send-friend, magento/module-re-captcha-ui, magento/module-customer, magento/framework, magento/module-contact, magento/module-newsletter, magento/module-review, magento/module-send-friend, magento/module-customer-custom-attributes, magento/module-invitation
Origin
adobe-commerce-support
Since QPT
1.1.48

Issue

### Case I 1. Registered customers are not able to log in using the enabled Google reCAPTCHA. 1. A form can be submitted before Google reCAPTCHA fully loads.

Steps to reproduce

1. Go to Store > Configuration > Security > Google reCAPTCHA Storefront and enable Google reCAPTCHA. 1. Go to the frontend. 1. Open Developer Tool Console in the browser.

Adobe's page lists 2.4.4-p1 - 2.4.7-p4 as compatible; the versions below are resolved from the current QPT constraints and are the ones the tool will offer.

Install

Install the Quality Patches Tool with composer require magento/quality-patches, apply the prerequisites listed for all files applicable to your distribution and version first, then run vendor/bin/magento-patches apply MDVA-39305-V3. On Cloud, add MDVA-39305-V3 under stage.build.QUALITY_PATCHES in .magento.env.yaml.

For cweagans/composer-patches, choose a compatible version below and download the bundle. Copy its MDVA-39305-V3/ folder into patches/composer/, merge composer.patches.json into composer.json, then run composer install. Bundle prerequisites the same way and list them first. Paths are relative to each package root, using the default -p1 level. Prefer local files when configuring composer-patches; a remote URL can change.

Patch files and compatible versions

Packages across compatible versions (13): magento/module-re-captcha-customer, magento/module-re-captcha-frontend-ui, magento/module-re-captcha-contact, magento/module-re-captcha-newsletter, magento/module-re-captcha-review, magento/module-re-captcha-send-friend, magento/module-re-captcha-ui, magento/module-customer, magento/module-contact, magento/module-newsletter, magento/module-review, magento/module-send-friend, magento/framework
Packages across compatible versions (15): magento/module-re-captcha-customer, magento/module-re-captcha-frontend-ui, magento/module-re-captcha-contact, magento/module-re-captcha-newsletter, magento/module-re-captcha-review, magento/module-re-captcha-send-friend, magento/module-re-captcha-ui, magento/module-customer, magento/module-contact, magento/module-newsletter, magento/module-review, magento/module-send-friend, magento/framework, magento/module-customer-custom-attributes, magento/module-invitation

magento/security-package >=1.1.3-p1 <1.1.4

Magento Open Source
2.4.4-p18, 2.4.4-p17, 2.4.4-p16, 2.4.4-p15, 2.4.4-p14, 2.4.4-p13, 2.4.4-p12, 2.4.4-p11, 2.4.4-p10, 2.4.4-p9, 2.4.4-p8, 2.4.4-p7, 2.4.4-p6, 2.4.4-p5, 2.4.4-p4, 2.4.4-p3, 2.4.4-p2, 2.4.4-p1
Adobe Commerce
2.4.4-p18, 2.4.4-p17, 2.4.4-p16, 2.4.4-p15, 2.4.4-p14, 2.4.4-p13, 2.4.4-p12, 2.4.4-p11, 2.4.4-p10, 2.4.4-p9, 2.4.4-p8, 2.4.4-p7, 2.4.4-p6, 2.4.4-p5, 2.4.4-p4, 2.4.4-p3, 2.4.4-p2, 2.4.4-p1
Patch file
patches/os/ACSD-50969_1.1.3.patch
  • vendor/magento/module-re-captcha-customer/Plugin/Customer/DisableCreateAccountButton.php (added)
  • vendor/magento/module-re-captcha-customer/Plugin/Customer/DisableLoginButton.php (added)
  • vendor/magento/module-re-captcha-customer/etc/frontend/di.xml
  • vendor/magento/module-re-captcha-frontend-ui/view/frontend/web/js/reCaptcha.js

magento/security-package >=1.1.4 <1.1.6

Magento Open Source
2.4.6-p15, 2.4.6-p14, 2.4.6-p13, 2.4.6-p12, 2.4.6-p11, 2.4.6-p10, 2.4.6-p9, 2.4.6-p8, 2.4.6-p7, 2.4.6-p6, 2.4.6-p5, 2.4.6-p4, 2.4.6-p3, 2.4.6-p2, 2.4.6-p1, 2.4.6, 2.4.5-p17, 2.4.5-p16, 2.4.5-p15, 2.4.5-p14, 2.4.5-p13, 2.4.5-p12, 2.4.5-p11, 2.4.5-p10, 2.4.5-p9, 2.4.5-p8, 2.4.5-p7, 2.4.5-p6, 2.4.5-p5, 2.4.5-p4, 2.4.5-p3, 2.4.5-p2, 2.4.5-p1, 2.4.5
Adobe Commerce
2.4.6-p15, 2.4.6-p14, 2.4.6-p13, 2.4.6-p12, 2.4.6-p11, 2.4.6-p10, 2.4.6-p9, 2.4.6-p8, 2.4.6-p7, 2.4.6-p6, 2.4.6-p5, 2.4.6-p4, 2.4.6-p3, 2.4.6-p2, 2.4.6-p1, 2.4.6, 2.4.5-p17, 2.4.5-p16, 2.4.5-p15, 2.4.5-p14, 2.4.5-p13, 2.4.5-p12, 2.4.5-p11, 2.4.5-p10, 2.4.5-p9, 2.4.5-p8, 2.4.5-p7, 2.4.5-p6, 2.4.5-p5, 2.4.5-p4, 2.4.5-p3, 2.4.5-p2, 2.4.5-p1, 2.4.5
Patch file
patches/os/ACSD-56472_1.1.4-p2.patch
  • vendor/magento/module-re-captcha-contact/etc/frontend/di.xml (added)
  • vendor/magento/module-re-captcha-customer/Plugin/Customer/DisableCreateAccountButton.php (deleted)
  • vendor/magento/module-re-captcha-customer/Plugin/Customer/DisableForgotPasswordButton.php (deleted)
  • vendor/magento/module-re-captcha-customer/Plugin/Customer/DisableLoginButton.php (deleted)
  • vendor/magento/module-re-captcha-customer/etc/frontend/di.xml
  • vendor/magento/module-re-captcha-frontend-ui/view/frontend/web/js/reCaptcha.js
  • vendor/magento/module-re-captcha-newsletter/etc/frontend/di.xml (added)
  • vendor/magento/module-re-captcha-review/etc/frontend/di.xml (added)
  • vendor/magento/module-re-captcha-send-friend/etc/frontend/di.xml (added)
  • vendor/magento/module-re-captcha-ui/Model/ButtonLock.php (added)

magento/magento2-base >=2.4.4-p1 <2.4.5

Magento Open Source
2.4.4-p18, 2.4.4-p17, 2.4.4-p16, 2.4.4-p15, 2.4.4-p14, 2.4.4-p13, 2.4.4-p12, 2.4.4-p11, 2.4.4-p10, 2.4.4-p9, 2.4.4-p8, 2.4.4-p7, 2.4.4-p6, 2.4.4-p5, 2.4.4-p4, 2.4.4-p3, 2.4.4-p2, 2.4.4-p1
Adobe Commerce
2.4.4-p18, 2.4.4-p17, 2.4.4-p16, 2.4.4-p15, 2.4.4-p14, 2.4.4-p13, 2.4.4-p12, 2.4.4-p11, 2.4.4-p10, 2.4.4-p9, 2.4.4-p8, 2.4.4-p7, 2.4.4-p6, 2.4.4-p5, 2.4.4-p4, 2.4.4-p3, 2.4.4-p2, 2.4.4-p1
Patch file
patches/os/ACSD-50969_2.4.4.patch
  • vendor/magento/module-customer/ViewModel/CreateAccountButton.php (added)
  • vendor/magento/module-customer/ViewModel/LoginButton.php (added)
  • vendor/magento/module-customer/view/frontend/layout/customer_account_create.xml
  • vendor/magento/module-customer/view/frontend/layout/customer_account_login.xml
  • vendor/magento/module-customer/view/frontend/templates/form/login.phtml
  • vendor/magento/module-customer/view/frontend/templates/form/register.phtml

magento/magento2-base >=2.4.5 <2.4.7

Magento Open Source
2.4.6-p15, 2.4.6-p14, 2.4.6-p13, 2.4.6-p12, 2.4.6-p11, 2.4.6-p10, 2.4.6-p9, 2.4.6-p8, 2.4.6-p7, 2.4.6-p6, 2.4.6-p5, 2.4.6-p4, 2.4.6-p3, 2.4.6-p2, 2.4.6-p1, 2.4.6, 2.4.5-p17, 2.4.5-p16, 2.4.5-p15, 2.4.5-p14, 2.4.5-p13, 2.4.5-p12, 2.4.5-p11, 2.4.5-p10, 2.4.5-p9, 2.4.5-p8, 2.4.5-p7, 2.4.5-p6, 2.4.5-p5, 2.4.5-p4, 2.4.5-p3, 2.4.5-p2, 2.4.5-p1, 2.4.5
Adobe Commerce
2.4.6-p15, 2.4.6-p14, 2.4.6-p13, 2.4.6-p12, 2.4.6-p11, 2.4.6-p10, 2.4.6-p9, 2.4.6-p8, 2.4.6-p7, 2.4.6-p6, 2.4.6-p5, 2.4.6-p4, 2.4.6-p3, 2.4.6-p2, 2.4.6-p1, 2.4.6, 2.4.5-p17, 2.4.5-p16, 2.4.5-p15, 2.4.5-p14, 2.4.5-p13, 2.4.5-p12, 2.4.5-p11, 2.4.5-p10, 2.4.5-p9, 2.4.5-p8, 2.4.5-p7, 2.4.5-p6, 2.4.5-p5, 2.4.5-p4, 2.4.5-p3, 2.4.5-p2, 2.4.5-p1, 2.4.5
Patch file
patches/os/ACSD-56472_2.4.5-p2.patch
  • vendor/magento/module-contact/view/frontend/layout/contact_index_index.xml
  • vendor/magento/module-contact/view/frontend/templates/form.phtml
  • vendor/magento/module-customer/ViewModel/CreateAccountButton.php (deleted)
  • vendor/magento/module-customer/ViewModel/ForgotPasswordButton.php (deleted)
  • vendor/magento/module-customer/ViewModel/LoginButton.php (deleted)
  • vendor/magento/module-customer/view/frontend/layout/customer_account_create.xml
  • vendor/magento/module-customer/view/frontend/layout/customer_account_edit.xml
  • vendor/magento/module-customer/view/frontend/layout/customer_account_forgotpassword.xml
  • vendor/magento/module-customer/view/frontend/layout/customer_account_login.xml
  • vendor/magento/module-customer/view/frontend/templates/form/edit.phtml
  • vendor/magento/module-customer/view/frontend/templates/form/forgotpassword.phtml
  • vendor/magento/module-customer/view/frontend/templates/form/login.phtml
  • vendor/magento/module-customer/view/frontend/templates/form/register.phtml
  • vendor/magento/module-newsletter/view/frontend/layout/default.xml
  • vendor/magento/module-newsletter/view/frontend/templates/subscribe.phtml
  • vendor/magento/module-review/view/frontend/layout/catalog_product_view.xml
  • vendor/magento/module-review/view/frontend/layout/checkout_cart_configure.xml
  • vendor/magento/module-review/view/frontend/layout/wishlist_index_configure.xml
  • vendor/magento/module-review/view/frontend/templates/form.phtml
  • vendor/magento/module-send-friend/view/frontend/layout/sendfriend_product_send.xml
  • vendor/magento/module-send-friend/view/frontend/templates/send.phtml
  • vendor/magento/framework/View/Element/ButtonLockInterface.php (added)
  • vendor/magento/framework/View/Element/ButtonLockManager.php (added)

magento/magento2-base >=2.4.7 <2.4.8

Magento Open Source
2.4.7-p10, 2.4.7-p9, 2.4.7-p8, 2.4.7-p7, 2.4.7-p6, 2.4.7-p5, 2.4.7-p4, 2.4.7-p3, 2.4.7-p2, 2.4.7-p1, 2.4.7
Adobe Commerce
2.4.7-p10, 2.4.7-p9, 2.4.7-p8, 2.4.7-p7, 2.4.7-p6, 2.4.7-p5, 2.4.7-p4, 2.4.7-p3, 2.4.7-p2, 2.4.7-p1, 2.4.7
Patch file
patches/os/ACSD-63776_2.4.7.patch
  • vendor/magento/module-contact/view/frontend/templates/form.phtml
  • vendor/magento/module-customer/view/frontend/templates/form/edit.phtml
  • vendor/magento/module-customer/view/frontend/templates/form/forgotpassword.phtml
  • vendor/magento/module-customer/view/frontend/templates/form/login.phtml
  • vendor/magento/module-customer/view/frontend/templates/form/register.phtml
  • vendor/magento/module-newsletter/view/frontend/templates/subscribe.phtml
  • vendor/magento/module-review/view/frontend/templates/form.phtml
  • vendor/magento/module-send-friend/view/frontend/templates/send.phtml

magento/magento2-ee-base >=2.4.4-p1 <2.4.5

Magento Open Source
—
Adobe Commerce
2.4.4-p18, 2.4.4-p17, 2.4.4-p16, 2.4.4-p15, 2.4.4-p14, 2.4.4-p13, 2.4.4-p12, 2.4.4-p11, 2.4.4-p10, 2.4.4-p9, 2.4.4-p8, 2.4.4-p7, 2.4.4-p6, 2.4.4-p5, 2.4.4-p4, 2.4.4-p3, 2.4.4-p2, 2.4.4-p1
Patch file
patches/commerce/ACSD-50969_2.4.4.patch
  • vendor/magento/module-customer-custom-attributes/view/frontend/templates/customer/form/register.phtml

magento/magento2-ee-base >=2.4.5 <2.4.7

Magento Open Source
—
Adobe Commerce
2.4.6-p15, 2.4.6-p14, 2.4.6-p13, 2.4.6-p12, 2.4.6-p11, 2.4.6-p10, 2.4.6-p9, 2.4.6-p8, 2.4.6-p7, 2.4.6-p6, 2.4.6-p5, 2.4.6-p4, 2.4.6-p3, 2.4.6-p2, 2.4.6-p1, 2.4.6, 2.4.5-p17, 2.4.5-p16, 2.4.5-p15, 2.4.5-p14, 2.4.5-p13, 2.4.5-p12, 2.4.5-p11, 2.4.5-p10, 2.4.5-p9, 2.4.5-p8, 2.4.5-p7, 2.4.5-p6, 2.4.5-p5, 2.4.5-p4, 2.4.5-p3, 2.4.5-p2, 2.4.5-p1, 2.4.5
Patch file
patches/commerce/ACSD-56472_2.4.5-p2.patch
  • vendor/magento/module-customer-custom-attributes/view/frontend/layout/customer_account_edit.xml
  • vendor/magento/module-customer-custom-attributes/view/frontend/templates/customer/form/edit.phtml
  • vendor/magento/module-customer-custom-attributes/view/frontend/templates/customer/form/register.phtml
  • vendor/magento/module-invitation/view/frontend/layout/magento_invitation_customer_account_create.xml

magento/magento2-ee-base >=2.4.7 <2.4.8

Magento Open Source
—
Adobe Commerce
2.4.7-p10, 2.4.7-p9, 2.4.7-p8, 2.4.7-p7, 2.4.7-p6, 2.4.7-p5, 2.4.7-p4, 2.4.7-p3, 2.4.7-p2, 2.4.7-p1, 2.4.7
Patch file
patches/commerce/ACSD-63776_2.4.7.patch
  • vendor/magento/module-customer-custom-attributes/view/frontend/templates/customer/form/edit.phtml
  • vendor/magento/module-customer-custom-attributes/view/frontend/templates/customer/form/register.phtml

Sources

Łukasz Bajsarowicz
Built by

Łukasz Bajsarowicz, e-commerce architect

Magento and Adobe Commerce architecture, upgrades, performance and audits for merchants and agencies since 2015; magento.watch is the tooling I use on those projects.

Open source, maintained on weekends.