Lockout Policy

A simple client-side lockout policy can be enabled on the web components just with a single attribute:

  • enable-lockout or enableLockout Setting this attribute to true will enable the lockout policy with the default configuration.

To change the lockout policy configuration the lockout-options or lockoutOptions object can be set, it is an object which has the following structure:

Key

Type

Default Value

Explanation

time

number

5 minutes in ms

The amount of time the user is going to be locked out for after reaching the maximum number of failed attempts.

tolerance

number

5

The amount of attempts that the user has to fail in a row to be locked out.

Last updated

Was this helpful?