How to Enable Customer Login / Register Captcha in Magento 2

Magento 2 supports administrators to set CAPTCHA requirement for each time customers log into their accounts. The website is enabled to avoid spam and the Robots login to website. Thus, this feature will increase effectively your store security. To protect your store, you should enable Admin login Captcha and install Security module.
In the backend, you can configure whether customers are required to enter a CAPTCHA each time they log into website, or after several unsuccessful attempts to log in.
Admins can configure to show CAPTCHA requirement for the following forms in the storefront
- Create User
- Login
- Forgot Password
- Checkout as Guest
- Register During Checkout
- Contact Us
FREE Mageplaza’s module help you protect online store Magento 2 security extension Magento 2 Two-Factor Authentication Magento 2 Google reCAPTCHA
Configure a Storefront CAPTCHA in Magento 2
- On the Admin panel, click
Stores
. In theSettings
section, selectConfiguration
. - Select
Customer Configuration
underCustomers
in the panel on the left - Open the
CAPTCHA
section, and continue with following:
- In the
Enable CAPTCHA on Frontend
field, select “Yes” to enable CAPTCHA on Frontend - In the
Font
field, select the name of the Font to be used for the CAPTCHA symbols. The default is LinLibertine. - In the
Forms
field, select one of the following forms where CAPTCHA is to be used- Create User
- Login
- Forgot Password
- Checkout as Guest
- Register during Checkout
- In the
Displaying Mode
, choose one of the following- Always
- After number of attempts to login
- In the
Number of Unsuccessful Attempts to Login
field, enter the number of unsucessful attempts to login before captcha appears. If you enter Zero, the Captcha will be always available - In the
CAPTCHA Timeout (minutes)
field, enter the number of minutes before the CAPTCHA expires. When the CAPTCHA expires, the user must reload the page to generate a new CAPTCHA. - In the
Number of Symbols
field, enter the range number of symbols that CAPTCHA will be changed in, for example: 3-7. The maximum number of symbols is eight. - In the
Symbols Used in CAPTCHA
field, specify the symbols that can be used in the CAPTCHA. Set only letters (a-z and A-Z), or number (0-9) to enter into the box. No spaces or other characters are allowed and the similar symbors is not used in the default. - In the
Case Sensitive
field, selectYes
if you require that the user enter the upper-and lowercase characters exactly as shown - When complete, click
Save Config
Related Topics
- 62% stores have vulnerability and 14% stores have 4+ security issues, see why
- Security Checklist
- Secure Your Admin
- Quick login without password
- How To Stop Brute Force Attacks
-
Magento 2 Google reCaptcha extension help websites prevent spam and abuse from bots
Abandoned cart email.

Recent Tutorials

Magento 2 Admin Panel
6 Steps to Creating an Extension Package File in Magento
How to build landing pages in Magento store?
Comments for Enable Customer Login / Register Captcha
Explore Our Products:
People also searched for
- captcha magento 2
- magento 2 enable captcha
- disable captcha magento 2
- magento 2 disable captcha
- magento captcha
- magento 2 captcha settings
- magento 2 disable recaptcha
- magento 2 add captcha to registration form
- enable captcha magento
- magento disable captcha
- magento 2 login incorrect captcha
- magento 2 recaptcha
- magento 2 disable captcha admin
- magento 2 incorrect captcha
- magento 2 captcha not showing
- magento enable captcha
- magento 2 disable captcha database
- magento 2 captcha not working
- magento 2 add captcha to custom form
- magento add captcha to registration form
- magento captcha settings
- magento contact form captcha
- magento captcha not showing
- magento newsletter captcha
- magento 2 captcha contact form
- magento 2 contact form captcha
- magento 2 customer registration spam
- magento captcha not working
- 2.2.x, 2.3.x, 2.4.x
Stay in the know
Get special offers on the latest news from Mageplaza.
Earn $10 in reward now!