api: adjust min requirements for resetting password
Parents:
083103b1 file(s) changed
- api/src/schemas/auth.schema.ts +1 -1
api/src/schemas/auth.schema.ts
@@ -11,7 +11,7 @@ });
11 11
12 12 export const PasswordResetSchema = z.object({
13 13 token: z.string(),
14 - newPassword: z.string().min(8)
14 + newPassword: z.string().min(6)
15 15 })
16 16
17 17 export type LoginInput = z.infer<typeof LoginSchema>;