Skip to content

Commit

Permalink
[#19406] fix: add min char validation for nickname
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsen-ghafouri committed Apr 4, 2024
1 parent 288f571 commit d5481e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/status_im/common/validation/profile.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -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)))

0 comments on commit d5481e4

Please sign in to comment.