Magento-2-captcha

Magento 2 CAPTCHA: Quick Guide to Enable in Minutes

by admin

Have you ever seen the distorted letters while signing up, entering credentials or submitting anything on a website? You wonder what it is, how it works and how to turn it on for your Magento 2 store. All these questions will be answered in this article, let’s start!

What is Magento 2 CAPTCHA?

CAPTCHA is short for Completely Automated Public Turing Test to Tell Computers and Humans Apart, its responsibility is to check if a user is a real person or a bot.

 

You may be wondering how CAPTCHA can distinguish between people or bots. It is very easy! People can see the difference between numbers, letters, and any symbols but a bot can’t. 

Magento 2 captcha

Why Magento 2 CAPTCHA is very important to your store?

Magento 2 websites use CAPTCHA as a way to strengthen their security. CAPTCHA helps you prevent spam comments or emails that are generated by a bot, a script or a program. It also prevents fake registration submissions from bots. 

 

Last but not least, CAPTCHA makes online shopping more secure, you can ensure that those who are ordering products or services are humans only. Therefore, the risks of receiving fake or spam orders will be brought down.

Configure Magento 2 CAPTCHA for Admin

  • On the Admin panel, go to Store → Settings → Configuration.
  •  In the panel on the left, select Advanced → Admin.
  • Open the CAPTCHA section, and continue with following:
magento-2-capcha
  • Set Enable CAPTCHA in Admin to Yes.
  • In the Font field: select the name of font to be used for the CAPTCHA symbols (the default is LinLibertine).
  • In the Forms field: select any following forms where Magento 2 CAPTCHA is to be used:
    • Admin Login
    • Admin Forgot Password

magento-2-capcha-admin

  • In the Displaying Mode, select one of two options below:
    • Always
    • After number of attempts to login
  • In the Number of Unsuccessful Attempts to Login: fill in the number of unsuccessful attempts to login before captcha appears. If you set to Zero, the Captcha will be always available.
  • In the CAPTCHA Timeout (minutes) field: Enter the number of minutes that the CAPTCHA will expire after this period. When the CAPTCHA expires, the user has to reload the page to generate a new CAPTCHA.
  • In the Number of Symbols field: enter the number of symbols that CAPTCHA will appear. The maximum number is eight. If you want a variable number of symbols that changes with each CAPTCHA, enter a range of number (such as 6-8).
  • In the Symbols Used in CAPTCHA field: specify the symbols that can be appeared in the CAPTCHA. Only enter letters (a-z and A-Z), or numbers (0-9) into the box. In the default, you can not use similar symbols (such as 1, i or l), you should use symbols that users can easily identify.
  • In the Case Sensitive field: if you select Yes, it means that users must enter the upper and lowercase characters exactly as shown in CAPTCHA.
  • When complete, click Save Config.

Configure A Storefront CAPTCHA in Magento 2

  • On the Admin panel, negative to Stores SettingsConfiguration.
  • In the panel on the left, go to Customer ConfigurationCustomers.
  • Expand the Magento 2 CAPTCHA section, and continue with following:
magento-2-capcha-customer
  • Set Enable CAPTCHA on Frontend field to Yes.
  • In the Font field: select the name of font to be used for the CAPTCHA symbols (the default is LinLibertine).
  • In the Forms field: select any following forms where CAPTCHA is to be used:
    • Create User
    • Login
    • Forgot Password
    • Checkout as Guest
    • Register during Checkout

magento-2-capcha-configurations

  • In the Displaying Mode, select one of two options below:
    • Always
    • After number of attempts to login
  • In the Number of Unsuccessful Attempts to Login: fill in the number of unsuccessful attempts to login before captcha appears. If you set to Zero, the Captcha will be always available.
  • In the CAPTCHA Timeout (minutes) field: Enter the number of minutes that the CAPTCHA will expire after this period. When the CAPTCHA expires, the admin must reload the page to generate a new CAPTCHA.
  • In the Number of Symbols field: enter the number of symbols that CAPTCHA will appear. The maximum number is eight. If you want a variable number of symbols that changes with each CAPTCHA, enter a range of number (such as 6-8).
  • In the Symbols Used in CAPTCHA field: specify the symbols that can be appeared in the CAPTCHA. Only enter letters (a-z and A-Z), or numbers (0-9) into the box. In the default, you can not use similar symbols (such as 1, i or l), you should use symbols that users can easily identify.
  • In the Case Sensitive field: if you select Yes, it means that the admin must enter the upper and lowercase characters exactly as shown in CAPTCHA.
  • When complete, click Save Config.

It’s all done!

Above is all information about Magento 2 CAPTCHA and the instruction to help you configure it for the store. If you have any problems when configuring, don’t hesitate to leave a comment below. We are willing to help you in any case!

Next Reading Suggestions

© 2019 BSS Commerce owned by THANH CONG INTER ., JSC. All Rights Reserved.
Business registration certificate no. 0106064469 issued by Hanoi Department of Planning and Investment on 19 December 2019.
Legal Representative: Mr. Nguyen Quang Trung.