Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

fix: characters are not considered Symbols when entering a new password (#3689)

NikeLaosClericus6a819e38edca
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"];