summaryrefslogtreecommitdiffstats
path: root/web/react/components/user_settings
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2016-02-05 14:12:10 -0800
committerCorey Hulen <corey@hulen.com>2016-02-05 14:12:10 -0800
commitf4bf476441ab2dfe7920d5be40c05205eff4ed94 (patch)
treee53169dc1183dacebfcb1f4639af306d6f999fb2 /web/react/components/user_settings
parent29b5821c4098325ccec172ee0bc386c8b3b8f815 (diff)
parent255c844afc28360dbde6229d1b6581136192272d (diff)
downloadchat-f4bf476441ab2dfe7920d5be40c05205eff4ed94.tar.gz
chat-f4bf476441ab2dfe7920d5be40c05205eff4ed94.tar.bz2
chat-f4bf476441ab2dfe7920d5be40c05205eff4ed94.zip
Merge pull request #2091 from rgarmsen2295/plt-1797
PLT-1797 Increased username max length
Diffstat (limited to 'web/react/components/user_settings')
-rw-r--r--web/react/components/user_settings/user_settings_general.jsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/react/components/user_settings/user_settings_general.jsx b/web/react/components/user_settings/user_settings_general.jsx
index f20b4b807..cd229775f 100644
--- a/web/react/components/user_settings/user_settings_general.jsx
+++ b/web/react/components/user_settings/user_settings_general.jsx
@@ -514,6 +514,7 @@ class UserSettingsGeneralTab extends React.Component {
<label className='col-sm-5 control-label'>{usernameLabel}</label>
<div className='col-sm-7'>
<input
+ maxLength={Constants.MAX_USERNAME_LENGTH}
className='form-control'
type='text'
onChange={this.updateUsername}