summaryrefslogtreecommitdiffstats
path: root/webapp/utils
diff options
context:
space:
mode:
authorDavid Lu <david.lu@hotmail.com>2016-05-09 03:15:25 -0400
committerCorey Hulen <corey@hulen.com>2016-05-09 00:15:25 -0700
commitb58ccf06046d67df879e50950087559a9decc57a (patch)
tree2990efde06690098613807df815294ea8744b143 /webapp/utils
parentbe16307c0644ca833316373c5715ae598746240c (diff)
downloadchat-b58ccf06046d67df879e50950087559a9decc57a.tar.gz
chat-b58ccf06046d67df879e50950087559a9decc57a.tar.bz2
chat-b58ccf06046d67df879e50950087559a9decc57a.zip
PLT-2765 Limit username UI to 22 characters (#2918)
* Shortened username length to 22 characters * Update user_settings_general.jsx * Added username requirements to account settings page * Switched to double quotes to escape ' in JSX, must use double quotes * Update en.json * Update user_settings_general.jsx * Update es.json * Update fr.json * Update ja.json * Update pt.json * Added missing {
Diffstat (limited to 'webapp/utils')
-rw-r--r--webapp/utils/constants.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/utils/constants.jsx b/webapp/utils/constants.jsx
index a505812f3..7a900dca5 100644
--- a/webapp/utils/constants.jsx
+++ b/webapp/utils/constants.jsx
@@ -634,7 +634,7 @@ export default {
},
OVERLAY_TIME_DELAY: 400,
MIN_USERNAME_LENGTH: 3,
- MAX_USERNAME_LENGTH: 64,
+ MAX_USERNAME_LENGTH: 22,
MIN_PASSWORD_LENGTH: 5,
MAX_PASSWORD_LENGTH: 50,
TIME_SINCE_UPDATE_INTERVAL: 30000,