api: adjust min requirements for resetting password

Pedro Lucas Porcellis porcellis@eletrotupi.com 1 month ago 387edc22f68222f65e93340108152b50c1f90694
Parents: 083103b
1 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>;