diff options
author | Corey Hulen <corey@hulen.com> | 2015-09-02 16:04:12 -0700 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2015-09-02 16:04:12 -0700 |
commit | 83788409a2fd5fdcbf9f55e86a73cf83cd9e1763 (patch) | |
tree | 133d0b708e24dfdb085024ba142284f3d90f4384 /web/react/components/user_settings_security.jsx | |
parent | 58ec3cb19aac1123a24c556a741e44327f910a89 (diff) | |
parent | 96aa78c9713580d087f877dcb95df2ec6d366cee (diff) | |
download | chat-83788409a2fd5fdcbf9f55e86a73cf83cd9e1763.tar.gz chat-83788409a2fd5fdcbf9f55e86a73cf83cd9e1763.tar.bz2 chat-83788409a2fd5fdcbf9f55e86a73cf83cd9e1763.zip |
Merge pull request #569 from rgarmsen2295/fix-react-key-warnings
Fixed some react warnings involving missing keys in render arrays
Diffstat (limited to 'web/react/components/user_settings_security.jsx')
-rw-r--r-- | web/react/components/user_settings_security.jsx | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/web/react/components/user_settings_security.jsx b/web/react/components/user_settings_security.jsx index a9f62097a..d83151cd8 100644 --- a/web/react/components/user_settings_security.jsx +++ b/web/react/components/user_settings_security.jsx @@ -113,7 +113,10 @@ export default class SecurityTab extends React.Component { if (this.props.user.auth_service === '') { inputs.push( - <div className='form-group'> + <div + key='currentPasswordUpdateForm' + className='form-group' + > <label className='col-sm-5 control-label'>Current Password</label> <div className='col-sm-7'> <input @@ -126,7 +129,10 @@ export default class SecurityTab extends React.Component { </div> ); inputs.push( - <div className='form-group'> + <div + key='newPasswordUpdateForm' + className='form-group' + > <label className='col-sm-5 control-label'>New Password</label> <div className='col-sm-7'> <input @@ -139,7 +145,10 @@ export default class SecurityTab extends React.Component { </div> ); inputs.push( - <div className='form-group'> + <div + key='retypeNewPasswordUpdateForm' + className='form-group' + > <label className='col-sm-5 control-label'>Retype New Password</label> <div className='col-sm-7'> <input @@ -155,7 +164,10 @@ export default class SecurityTab extends React.Component { submit = this.submitPassword; } else { inputs.push( - <div className='form-group'> + <div + key='oauthPasswordInfo' + className='form-group' + > <label className='col-sm-12'>Log in occurs through GitLab. Please see your GitLab account settings page to update your password.</label> </div> ); |