From 6a819e38edca9f95b926a0162abdb6b873ddec08 Mon Sep 17 00:00:00 2001 From: NikeLaosClericus <39810627+NikeLaosClericus@users.noreply.github.com> Date: Fri, 1 Aug 2025 05:12:25 -0400 Subject: [PATCH] fix: characters are not considered Symbols when entering a new password (#3689) Co-authored-by: Meier Lukas --- packages/validation/src/user.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/validation/src/user.ts b/packages/validation/src/user.ts index b8d78e8ee..16bc593a0 100644 --- a/packages/validation/src/user.ts +++ b/packages/validation/src/user.ts @@ -16,7 +16,7 @@ export const passwordRequirements = [ { check: regexCheck(/[a-z]/), value: "lowercase" }, { check: regexCheck(/[A-Z]/), value: "uppercase" }, { check: regexCheck(/\d/), value: "number" }, - { check: regexCheck(/[$&+,:;=?@#|'<>.^*()%!-]/), value: "special" }, + { check: regexCheck(/[$&+,:;=?@#|'<>.^*()%!\-~`"_/\\[\]{}]/), value: "special" }, ] satisfies { check: (value: string) => boolean; value: keyof TranslationObject["user"]["field"]["password"]["requirement"];