diff options
author | Joram Wilander <jwawilander@gmail.com> | 2016-10-24 08:50:12 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-24 08:50:12 -0400 |
commit | e6d26bee51067d65480925593d1610404ff9d5e3 (patch) | |
tree | de88b96d8345e9c1e411b4e299ab202388739be6 /webapp/components/admin_console/reset_password_modal.jsx | |
parent | 486d12e1c3a5d6658ca0ebd8fd28bec9f6753ce9 (diff) | |
download | chat-e6d26bee51067d65480925593d1610404ff9d5e3.tar.gz chat-e6d26bee51067d65480925593d1610404ff9d5e3.tar.bz2 chat-e6d26bee51067d65480925593d1610404ff9d5e3.zip |
Fixes for the team user lists in the system console (#4294)
Diffstat (limited to 'webapp/components/admin_console/reset_password_modal.jsx')
-rw-r--r-- | webapp/components/admin_console/reset_password_modal.jsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/webapp/components/admin_console/reset_password_modal.jsx b/webapp/components/admin_console/reset_password_modal.jsx index dee04b87c..e3fd2bf00 100644 --- a/webapp/components/admin_console/reset_password_modal.jsx +++ b/webapp/components/admin_console/reset_password_modal.jsx @@ -1,7 +1,6 @@ // Copyright (c) 2015 Mattermost, Inc. All Rights Reserved. // See License.txt for license information. -import ReactDOM from 'react-dom'; import Client from 'client/web_client.jsx'; import * as Utils from 'utils/utils.jsx'; import {Modal} from 'react-bootstrap'; @@ -37,7 +36,7 @@ class ResetPasswordModal extends React.Component { this.props.user.id, password, () => { - this.props.onModalSubmit(ReactDOM.findDOMNode(this.refs.password).value); + this.props.onModalSubmit(this.props.user); }, (err) => { this.setState({serverError: err.message}); |