How To Enable CAPTCHA For The Admin In Magento 2

Increase security for your store, limit spam and robots with CAPTCHA. Magento supports this feature and you can configure it easily. In the post How To Enable CAPTCHA For The Admin In Magento 2, we will guide you to enable and configure it.

What is CAPTCHA?

A CAPTCHA a contrived acronym for “Completely Automated Public Turing test to tell Computers and Humans Apart”) is a type of challenge–response test used in computing to determine whether or not the user is human.

Captcha for the Admin

You can reload the CAPTCHA as many times as is necessary by clicking the Reload icon in the upper-right corner of the image. The CAPTCHA is fully configurable and can be set to appear every time, or only after a number of failed login attempts.

For an extra level of security, you can add a CAPTCHA to the Admin Sign In and Forgot Password page. Magento Admin users can reload the displayed CAPTCHA by clicking the Reload icon in the upper-right corner of the image. The number of reloads is unlimited.

Steps To Configure CAPTCHA For The Admin

Step 1: Login to Admin Panel.

Step 2: Choose STORES -> Settings -> Configuration.

Step 3: Select ADVANCED -> Admin in the left panel.

Choose Admin in Advanced section on the left panel

Step 4: Expand the CAPTCHA section.

Expand the CAPTCHA section

Step 5: Set Enable CAPTCHA in Admin to Yes. Then complete the remaining options as follows:

  • In the Font field, select the name of the Font to be displayed for the CAPTCHA symbols (default: LinLibertine).
  • In the Forms field, select one of the following forms to use a CAPTCHA.
    • Admin Login.
    • Admin Forgot Password.
Select one of the following forms to use a CAPTCHA
  • In the Displaying Mode field, select one of the following:
    • Always — CAPTCHA is always required to log in to the Admin.
    • After number of attempts to login — This option applies only to the Admin Login form. When selected, the Number of Unsuccessful Attempts to Login field appears.
  • In the Number of Unsuccessful Attempts to Login field, enter the number of times the administrator can try to log in before the CAPTCHA appears. If set to 0, CAPTCHA is always required.
  • In the CAPTCHA Timeout (minutes) field, enter the number of minutes before the CAPTCHA expires. When the CAPTCHA expires, the administrator must reload the page.
  • In the Number of Symbols field, enter the range number to appear in the CAPTCHA. The maximum is 8 symbols.
  • In the Symbols Used in CAPTCHA field, enter the letters (a-z and A-Z) and numbers (0-9) that you want to appear randomly in the CAPTCHA. Symbols that are hard to distinguish from other symbols, such as i, l, or 1, are not included in the default set of CAPTCHA symbols.
  • Set Case Sensitive to Yes if you want to require administrators to enter the characters in upper- or lowercase exactly as shown in the CAPTCHA.

Step 7: Click to Save Config, and refresh cache.

You can read more useful articles like How To Configure Full-Page Cache In Magento 2.

Follow us for the more helpful posts!

We hope this is a useful post for you.

Thank you for reading!

5 1 vote
Article Rating

Aaron LX

Aaron is a passionate writer, crazy about shopping, eCommerce and trends. Besides his outstanding research skills and a positive mind, Aaron eagerly shares his experience with the readers.

Leave a Reply or put your Question here

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x