summaryrefslogtreecommitdiffstats
path: root/webapp/utils
diff options
context:
space:
mode:
authorDavid Lu <david.lu@hotmail.com>2016-05-31 13:20:27 -0700
committerJoram Wilander <jwawilander@gmail.com>2016-05-31 16:20:27 -0400
commit89717c2a779522a73f4c062e42eb387a6d1e6a61 (patch)
treef0e5d1df6e67c513cc2fac2fc3df8023095c7a68 /webapp/utils
parent8a1da84d56eec002fb22df712b494229e3d7ee94 (diff)
downloadchat-89717c2a779522a73f4c062e42eb387a6d1e6a61.tar.gz
chat-89717c2a779522a73f4c062e42eb387a6d1e6a61.tar.bz2
chat-89717c2a779522a73f4c062e42eb387a6d1e6a61.zip
Added maxlength for nicknames (#3186)
Diffstat (limited to 'webapp/utils')
-rw-r--r--webapp/utils/constants.jsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/webapp/utils/constants.jsx b/webapp/utils/constants.jsx
index b7ed97162..1281e320f 100644
--- a/webapp/utils/constants.jsx
+++ b/webapp/utils/constants.jsx
@@ -739,6 +739,7 @@ export default {
MAX_TEAMNAME_LENGTH: 15,
MIN_USERNAME_LENGTH: 3,
MAX_USERNAME_LENGTH: 22,
+ MAX_NICKNAME_LENGTH: 22,
MIN_PASSWORD_LENGTH: 5,
MAX_PASSWORD_LENGTH: 50,
MIN_TRIGGER_LENGTH: 1,