summaryrefslogtreecommitdiffstats
path: root/web/react/components/admin_console/reset_password_modal.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-10-15 12:07:06 -0400
committerChristopher Speller <crspeller@gmail.com>2015-10-15 15:00:28 -0400
commit1571a9a2dfbe6dd3bb598a92f7f62e457b613241 (patch)
treec615bb285e59cc2fb9faa61bbbe02af858b9212b /web/react/components/admin_console/reset_password_modal.jsx
parentfda7a99e8ce15d51f1d7b2667015af2ef8ab1dec (diff)
downloadchat-1571a9a2dfbe6dd3bb598a92f7f62e457b613241.tar.gz
chat-1571a9a2dfbe6dd3bb598a92f7f62e457b613241.tar.bz2
chat-1571a9a2dfbe6dd3bb598a92f7f62e457b613241.zip
Fixing most deprication warnings
Diffstat (limited to 'web/react/components/admin_console/reset_password_modal.jsx')
-rw-r--r--web/react/components/admin_console/reset_password_modal.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/react/components/admin_console/reset_password_modal.jsx b/web/react/components/admin_console/reset_password_modal.jsx
index 75264be45..35d3cdd17 100644
--- a/web/react/components/admin_console/reset_password_modal.jsx
+++ b/web/react/components/admin_console/reset_password_modal.jsx
@@ -18,7 +18,7 @@ export default class ResetPasswordModal extends React.Component {
doSubmit(e) {
e.preventDefault();
- var password = React.findDOMNode(this.refs.password).value;
+ var password = ReactDOM.findDOMNode(this.refs.password).value;
if (!password || password.length < 5) {
this.setState({serverError: 'Please enter at least 5 characters.'});
@@ -34,7 +34,7 @@ export default class ResetPasswordModal extends React.Component {
Client.resetPassword(data,
() => {
- this.props.onModalSubmit(React.findDOMNode(this.refs.password).value);
+ this.props.onModalSubmit(ReactDOM.findDOMNode(this.refs.password).value);
},
(err) => {
this.setState({serverError: err.message});