summaryrefslogtreecommitdiffstats
path: root/web/react/utils/constants.jsx
diff options
context:
space:
mode:
authorReed Garmsen <rgarmsen2295@gmail.com>2016-01-19 12:39:51 -0800
committerReed Garmsen <rgarmsen2295@gmail.com>2016-01-20 08:43:14 -0800
commit76f000056512d323febeb6c941e43efb438030ba (patch)
tree266013b0d9521f0f9103f31cdd38dbe67136da3a /web/react/utils/constants.jsx
parent1acd38b7b19521d06d274c42c00ce7072cd92196 (diff)
downloadchat-76f000056512d323febeb6c941e43efb438030ba.tar.gz
chat-76f000056512d323febeb6c941e43efb438030ba.tar.bz2
chat-76f000056512d323febeb6c941e43efb438030ba.zip
Removed extraneous error when providing a short username
Diffstat (limited to 'web/react/utils/constants.jsx')
-rw-r--r--web/react/utils/constants.jsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/web/react/utils/constants.jsx b/web/react/utils/constants.jsx
index d0f34293f..5d6aa9329 100644
--- a/web/react/utils/constants.jsx
+++ b/web/react/utils/constants.jsx
@@ -453,5 +453,9 @@ export default {
description: 'Show preview snippet of links below message'
}
},
- OVERLAY_TIME_DELAY: 400
+ OVERLAY_TIME_DELAY: 400,
+ MIN_USERNAME_LENGTH: 3,
+ MAX_USERNAME_LENGTH: 15,
+ MIN_PASSWORD_LENGTH: 5,
+ MAX_PASSWORD_LENGTH: 50
};