AccountLockoutOptions

AccountLockoutOptions

Properties:
Name Type Description
duration Number

Set the duration in minutes that a locked-out account remains locked out before automatically becoming unlocked.

Valid values are greater than 0 and less than 100000.

threshold Number

Set the number of failed sign-in attempts that will cause a user account to be locked. If the account is locked. The account will unlock after the duration set in the duration option has passed and no further login attempts have been made.

Valid values are greater than 0 and less than 1000.

unlockOnPasswordReset Boolean

Set to true if the account should be unlocked after a successful password reset.

Default is false.
Requires options duration and threshold to be set.