Przeglądaj źródła

docs(core): Update DefaultPasswordValidationStrategy documentation to include default maxLength

David Höck 9 miesięcy temu
rodzic
commit
378b3a54a5

+ 1 - 1
packages/core/src/config/auth/default-password-validation-strategy.ts

@@ -5,7 +5,7 @@ import { PasswordValidationStrategy } from './password-validation-strategy';
 /**
  * @description
  * The DefaultPasswordValidationStrategy allows you to specify a minimum length and/or
- * a regular expression to match passwords against.
+ * a regular expression to match passwords against. The default `maxLength` is `72`.
  *
  * TODO:
  * By default, the `minLength` will be set to `4`. This is rather permissive and is only