From f928322ec7ecac35a829b888d6d52fcb82106f61 Mon Sep 17 00:00:00 2001 From: mohadeseh safari Date: Tue, 6 May 2025 22:19:50 -0400 Subject: [PATCH] . --- client/src/Validation/validation.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/Validation/validation.js b/client/src/Validation/validation.js index 23e14b84b..01a2fd48c 100644 --- a/client/src/Validation/validation.js +++ b/client/src/Validation/validation.js @@ -10,8 +10,8 @@ const nameSchema = joi .pattern(/^[\p{L}\p{M}''\- ]+$/u) .messages({ "string.empty": "Name is required", - "string.max": "Name should be less than 50 characters", - "string.pattern.base": "Please use only letters, spaces, apostrophes, or hyphens" + "string.max": "Name must be less than 50 characters", + "string.pattern.base": "Name must contain only letters, spaces, apostrophes, or hyphens" }); const passwordSchema = joi