mirror of
https://github.com/ajnart/homarr.git
synced 2026-02-26 16:30:57 +01:00
fix: characters are not considered Symbols when entering a new password (#3689)
Co-authored-by: Meier Lukas <meierschlumpf@gmail.com>
This commit is contained in:
@@ -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"];
|
||||
|
||||
Reference in New Issue
Block a user