Google reCAPTCHA provides a greater level of security for both the storefront and Admin UI than is available with standard CAPTCHA, and gives you the ability to:
- Verify when customers create accounts, retrieve passwords, log in to their accounts, or contact your company.
- Enhance security when Admin users log in.
Google reCAPTCHA reduces potential user error when entering a Captcha code and encourages cart conversion without adding hurdles during checkout.
The Google reCAPTCHA extension is bundled and installed with Magento Open Source and Adobe Commerce 2.3.x or later.
Before reCAPTCHA can be configured, ensure that your
PHP.ini file includes this setting:
allow_url_fopen = 1. See Required PHP Settings.
See Google reCAPTCHA in the Commerce User Guide for configuration options in the Admin and storefront.
The extension supports a command line option for disabling reCAPTCHA. Use this command when you cannot access the Magento Admin UI.
1 bin/magento security:recaptcha:disable-for-user-login
You can disable Google reCAPTCHA for the Admin reset password page from the command line:
1 bin/magento security:recaptcha:disable-for-user-forgot-password