{t("Password")}
{t("You can change your password here.")}
{t("Your password must be a minimum of 8 characters.")}
);
}
const formSchema = z.object({
oldPassword: z
.string({ required_error: "your current password is required" })
.min(8),
newPassword: z.string({ required_error: "New password is required" }).min(8),
});
type FormValues = z.infer