diff --git a/server/routers/auth/signup.ts b/server/routers/auth/signup.ts index 2a4a7f35..78ed7b35 100644 --- a/server/routers/auth/signup.ts +++ b/server/routers/auth/signup.ts @@ -16,7 +16,7 @@ export const signupBodySchema = z.object({ password: z .string() .min(8, { message: "Password must be at least 8 characters long" }) - .max(31, { message: "Password must be at most 31 characters long" }) + .max(64, { message: "Password must be at most 64 characters long" }) .regex(/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[#?!@$%^&*-]).*$/, { message: `Your password must meet the following conditions: - At least one uppercase English letter.