Black Friday & Cyber Monday - Up to 100% Off Explore

How to Enable Admin Login Captcha in Magento 2


Adding captcha requirement to the Admin sign in and Forgot password page that increases your store security into level max. The captcha number will be able to reload unlimitedly when user click on the Reload icon.

In previous topic, I introduced how to enable customer login or register Captcha in Magento 2. Now I will continue to show you how to enable admin login Captcha in Magento 2.

To configure an Admin CAPTCHA:

  • On the Admin panel, click Stores. In the Settings section, select Configuration.
  • Select Admin under Advanced in the panel on the left
  • Open the CAPTCHA section, and continue with following:

How to Enable Admin Login Captcha

  • 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

    • Admin Login
    • Admin Forgot Password
  • 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 box. No spaces or other characters are allowed and the similar symbors is not used in the default.

  • In the Case Sensitive field, select Yes if you require that the user enter the upper-and lowercase characters exactly as shown

  • When complete, click Save Config

Ref: Magento 2 User Guide

It comes to the end of tutorial: How to Enable Admin Login Captcha in Magento 2.

Please leave comments if you have any questions, feedbacks.

Comments for How to Enable Admin Login Captcha in Magento 2

You also may like these Magento 2 Extensions

One Step Checkout

47 reviews

Layered Navigation

22 reviews


19 reviews

Shop By Brand

7 reviews