From f8f543b2d9b9109afa5882856e9858518f610766 Mon Sep 17 00:00:00 2001 From: ost-ptk Date: Fri, 7 Jun 2024 10:45:12 +0300 Subject: [PATCH] return min password length --- src/libs/ui/forms/form-validation-rules.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/ui/forms/form-validation-rules.ts b/src/libs/ui/forms/form-validation-rules.ts index 3d568107d..18171c206 100644 --- a/src/libs/ui/forms/form-validation-rules.ts +++ b/src/libs/ui/forms/form-validation-rules.ts @@ -21,7 +21,7 @@ import { dispatchToMainStore } from '@background/redux/utils'; import { verifyPasswordAgainstHash } from '@libs/crypto/hashing'; import { CSPRtoMotes, motesToCSPR } from '@libs/ui/utils/formatters'; -export const minPasswordLength = 1; +export const minPasswordLength = 16; const ERROR_DISPLAYED_BEFORE_ATTEMPT_IS_DECREMENTED = 1;