aboutsummaryrefslogtreecommitdiffhomepage
path: root/pkgs/shared/src/schemas
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/shared/src/schemas')
-rw-r--r--pkgs/shared/src/schemas/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/shared/src/schemas/index.ts b/pkgs/shared/src/schemas/index.ts
index c211381..28b5f55 100644
--- a/pkgs/shared/src/schemas/index.ts
+++ b/pkgs/shared/src/schemas/index.ts
@@ -28,7 +28,7 @@ export const userSchema = z.object({
// User creation input schema
export const createUserSchema = z.object({
username: z.string().min(1).max(255),
- password: z.string().min(8).max(255),
+ password: z.string().min(15).max(255),
});
// Login input schema