summaryrefslogtreecommitdiffstats
path: root/web/react/components/user_settings_security.jsx
diff options
context:
space:
mode:
authorReed Garmsen <rgarmsen2295@gmail.com>2015-09-02 13:00:35 -0700
committerReed Garmsen <rgarmsen2295@gmail.com>2015-09-02 15:57:32 -0700
commit96aa78c9713580d087f877dcb95df2ec6d366cee (patch)
tree133d0b708e24dfdb085024ba142284f3d90f4384 /web/react/components/user_settings_security.jsx
parent58ec3cb19aac1123a24c556a741e44327f910a89 (diff)
downloadchat-96aa78c9713580d087f877dcb95df2ec6d366cee.tar.gz
chat-96aa78c9713580d087f877dcb95df2ec6d366cee.tar.bz2
chat-96aa78c9713580d087f877dcb95df2ec6d366cee.zip
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.jsx20
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>
);