Skip to main content


The default captcha implementation generates and verifies an image. In the default captcha image, a sequence of digits 0-9 is used with a defined length of 5.

Configuring in Casdoor

To configure the default captcha in Casdoor, follow these steps:

  1. Create a new provider in Casdoor.

  2. Select the category as Captcha, and the type as Default.

    Default provider

  3. Click on the Preview button to preview the style of this captcha.

    Default preview

Applying in your application

To apply the default captcha in your application, do the following:

  1. Edit the application you want to configure in Casdoor.
  2. Select the provider that you just added. There are three types of rules available:
  • Always: Always requires human-machine verification during login.
  • None: Never requires human-machine verification. The account will be blocked if it attempts to login with the wrong password for the 5th time within 15 minutes. The block will be lifted after 15 minutes.
  • Dynamic: After 5 failed login attempts, human-machine verification will be required but the account will not be blocked.

Default provider app

We also provide a demo video to demonstrate the differences in rules, which we hope will be helpful to you.