Added client side validation to registration page
This commit is contained in:
1 parent
9a07f30816
commit
7f93c8aee0
5 files changed
+673
-148
No files matched your search
@@ -8,6 +8,7 @@ const loginValidation = joi.object({
|
||||
email: joi.string().email().required(),
|
||||
password: joi.string().min(8).required(),
|
||||
});
|
||||
|
||||
const registerValidation = joi.object({
|
||||
firstname: joi.string().required(),
|
||||
lastname: joi.string().required(),
|
||||
|
||||
Reference in new issue
Block a user