diff --git a/src/server/database/repositories/user/types.ts b/src/server/database/repositories/user/types.ts index 2dffe5ee..78a5eb9d 100644 --- a/src/server/database/repositories/user/types.ts +++ b/src/server/database/repositories/user/types.ts @@ -6,7 +6,7 @@ export type UserType = InferSelectModel; const username = z .string({ message: t('zod.user.username') }) - .min(8, t('zod.user.username')) + .min(2, t('zod.user.username')) .pipe(safeStringRefine); const password = z