Set max password length (100 chars) to help prevent DDOS attack

This commit is contained in:
Joel Biddle
2023-08-22 14:05:00 +10:00
parent 5b342409e3
commit 534d96ffb6
7 changed files with 69 additions and 37 deletions
@@ -18,7 +18,8 @@ import { useUser } from "@app/context";
import { useGetCommonPasswords } from "@app/hooks/api";
type Errors = {
length?: string,
tooShort?: string,
tooLong?: string,
upperCase?: string,
lowerCase?: string,
number?: string,