Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update auth.tsx #226

Merged
merged 2 commits into from
Dec 7, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update auth.tsx
Updated password min length in registerInputSchema to match loginInputSchema's
  • Loading branch information
yarinsn authored Dec 4, 2024
commit 4a3de813ed213a7c60a744db2333ba5c3d784c35
2 changes: 1 addition & 1 deletion apps/react-vite/src/lib/auth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const registerInputSchema = z
email: z.string().min(1, 'Required'),
firstName: z.string().min(1, 'Required'),
lastName: z.string().min(1, 'Required'),
password: z.string().min(1, 'Required'),
password: z.string().min(5, 'Required'),
})
.and(
z
Expand Down