diff --git a/src/pages/signup-affiliates/validations/_affilaite_validation.tsx b/src/pages/signup-affiliates/validations/_affilaite_validation.tsx index 251d718b86b..93f4928d000 100644 --- a/src/pages/signup-affiliates/validations/_affilaite_validation.tsx +++ b/src/pages/signup-affiliates/validations/_affilaite_validation.tsx @@ -10,7 +10,7 @@ export const affiliate_validation_regex = { value.length <= 50, phone: (value: string) => /^\+?\d+$/.test(value), username: (value: string) => /^[A-Za-z0-9_]{3,20}$/.test(value), - password: (value: string) => /^([a-z])([0-9])([A-Z]){6,50}$/.test(value), + password: (value: string) => /^([a-z])([0-9])([A-Z])[ -~]{6,50}$/.test(value), city: (value: string) => /^[\p{L}][\p{L}\s'.-]{0,49}$/u.test(value) && value.trim().length >= 2 &&