From d5eb7f92cf87977708f9418cd07feb91ac67da82 Mon Sep 17 00:00:00 2001 From: tanish35 Date: Wed, 9 Oct 2024 10:06:17 +0530 Subject: [PATCH] Add zod in frontend --- frontend/src/components/Register.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/Register.jsx b/frontend/src/components/Register.jsx index bd16ad5..d008672 100644 --- a/frontend/src/components/Register.jsx +++ b/frontend/src/components/Register.jsx @@ -43,7 +43,7 @@ const RegisterForm = () => { .min(3, { message: "Username must be at least 3 characters long " }), password: z .string() - .min(6, { message: "Password must be at least 6 characters long " }) + .min(6, { message: "Password must be at least 6 characters long. " }) .regex( /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{6,}$/, {