Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

modify the name field to a minimum of 2 characters

tsp3633168aa535ff
diff --git a/libs/dto/src/user/user.ts b/libs/dto/src/user/user.ts
index 73a8c7a29..8c8321691 100644
--- a/libs/dto/src/user/user.ts
+++ b/libs/dto/src/user/user.ts
@@ -15,7 +15,7 @@ export const usernameSchema = z
export const userSchema = z.object({
id: idSchema,
- name: z.string().min(3).max(255),
+ name: z.string().min(2).max(255),
picture: z.literal("").or(z.null()).or(z.string().url()),
username: usernameSchema,
email: z.string().email(),