From c692b71f82ad9049f62d1960085aa1312e983e0d Mon Sep 17 00:00:00 2001 From: Orlando Date: Fri, 5 Jul 2024 16:02:04 +0100 Subject: [PATCH] miss --- src/random/randomPassword.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/random/randomPassword.ts b/src/random/randomPassword.ts index 0fedfea..87cb25b 100644 --- a/src/random/randomPassword.ts +++ b/src/random/randomPassword.ts @@ -10,4 +10,4 @@ export const randomPassword = ({ randomString({ length: 1 }).toUpperCase() + // Upper case randomString({ length: randomInt({ min: minChars, max: maxChars }) - 3 }) + // At least 9 chars randomArrayItem(SPECIAL_CHARACTERS) + // Special character - randomInt(1, 9); // Number + randomInt({ min: 1, max: 9 }); // Number