From b58ccf06046d67df879e50950087559a9decc57a Mon Sep 17 00:00:00 2001 From: David Lu Date: Mon, 9 May 2016 03:15:25 -0400 Subject: 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 { --- webapp/utils/constants.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webapp/utils') 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, -- cgit v1.2.3-1-g7c22