Skip to content

Commit

Permalink
Merge pull request #41 from NishantGupt786/master
Browse files Browse the repository at this point in the history
pr
  • Loading branch information
NishantGupt786 authored Mar 14, 2024
2 parents 8439cba + 0e8868a commit 3c4550f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion devsoc24-portal-fe/src/schemas/login.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ export const loginSchema = z.object({
required_error: "Password is required",
invalid_type_error: "Password must be a string",
})
.min(6, "Password must be atleat 6 characters long"),
.min(6, "Password must be atleast 6 characters long"),
});
4 changes: 2 additions & 2 deletions devsoc24-portal-fe/src/schemas/password.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ export const resetSchema = z
required_error: "Password is required",
invalid_type_error: "Password must be a string",
})
.min(6, "Password must be atleat 6 characters long"),
.min(6, "Password must be atleast 6 characters long"),
confirmPassword: z
.string({
required_error: "Password is required",
invalid_type_error: "Password must be a string",
})
.min(6, "Password must be atleat 6 characters long"),
.min(6, "Password must be atleast 6 characters long"),
})
.refine((data) => data.password === data.confirmPassword, {
message: "Passwords do not match",
Expand Down
2 changes: 1 addition & 1 deletion devsoc24-portal-fe/src/schemas/signup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const signupSchema = z
required_error: "Password is required",
invalid_type_error: "Password must be a string",
})
.min(6, "Password must be atleat 6 characters long"),
.min(6, "Password must be atleast 6 characters long"),
confirmPassword: z.string({
required_error: "Password is required",
invalid_type_error: "Password must be a string",
Expand Down

0 comments on commit 3c4550f

Please sign in to comment.