From b715eda8a6c9c07507f3f03ed4ac90a3c1cef874 Mon Sep 17 00:00:00 2001 From: Mohsen Date: Thu, 4 Apr 2024 09:03:49 +0300 Subject: [PATCH] [#19406] fix: add min char validation for nickname --- src/status_im/common/validation/profile.cljs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/status_im/common/validation/profile.cljs b/src/status_im/common/validation/profile.cljs index fd075261508..44c4e8e6264 100644 --- a/src/status_im/common/validation/profile.cljs +++ b/src/status_im/common/validation/profile.cljs @@ -55,4 +55,5 @@ {:check (i18n/label :t/emojis)}) (validators/has-special-characters? s) (i18n/label :t/are-not-allowed {:check (i18n/label :t/special-characters)}) + (name-too-short? s) (i18n/label :t/minimum-characters {:min-chars min-length}) (name-too-long? s) (i18n/label :t/nickname-is-too-long)))