From 8eda1ece748c2d1ffa47f0bd64bed2cd95510cd1 Mon Sep 17 00:00:00 2001 From: Ferruh Cihan <63190600+ferruhcihan@users.noreply.github.com> Date: Wed, 12 Feb 2025 13:57:14 +0100 Subject: [PATCH] fix: generate special password --- src/cmd/bootstrap.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmd/bootstrap.ts b/src/cmd/bootstrap.ts index 04f1e736b7..297de9b07b 100644 --- a/src/cmd/bootstrap.ts +++ b/src/cmd/bootstrap.ts @@ -217,10 +217,10 @@ export const addInitialPasswords = (users: any[], deps = { generatePassword }) = user.initialPassword = deps.generatePassword({ length: 20, numbers: true, - symbols: true, + symbols: '!@#$%&*', lowercase: true, uppercase: true, - exclude: String(':,;"/=|%\\\''), + strict: true, }) } }