GitHub

DaffFormsPasswordValidatorLengthConfig

import { DaffFormsPasswordValidatorLengthConfig } from '@daffodil/forms'

The length config describes a password requirement that specifies maxmimum and/or minimum lengths.

interface DaffFormsPasswordValidatorLengthConfig {
  minLength: number
  maxLength: number
}

Properties

minLength
number

The minimum length.

maxLength
number

The maximum length.