summaryrefslogtreecommitdiffstats
path: root/webapp/components/admin_console/reset_password_modal.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/admin_console/reset_password_modal.jsx')
-rw-r--r--webapp/components/admin_console/reset_password_modal.jsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/webapp/components/admin_console/reset_password_modal.jsx b/webapp/components/admin_console/reset_password_modal.jsx
index e3fd2bf00..757f85517 100644
--- a/webapp/components/admin_console/reset_password_modal.jsx
+++ b/webapp/components/admin_console/reset_password_modal.jsx
@@ -1,12 +1,13 @@
// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.
-import Client from 'client/web_client.jsx';
import * as Utils from 'utils/utils.jsx';
import {Modal} from 'react-bootstrap';
import {injectIntl, intlShape, FormattedMessage} from 'react-intl';
+import {adminResetPassword} from 'actions/admin_actions.jsx';
+
import React from 'react';
class ResetPasswordModal extends React.Component {
@@ -32,7 +33,7 @@ class ResetPasswordModal extends React.Component {
}
this.setState({serverError: null});
- Client.adminResetPassword(
+ adminResetPassword(
this.props.user.id,
password,
() => {