diff options
Diffstat (limited to 'webapp/components/password_reset_send_link.jsx')
-rw-r--r-- | webapp/components/password_reset_send_link.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/components/password_reset_send_link.jsx b/webapp/components/password_reset_send_link.jsx index a301fb7d4..84edf8e3d 100644 --- a/webapp/components/password_reset_send_link.jsx +++ b/webapp/components/password_reset_send_link.jsx @@ -4,7 +4,7 @@ import $ from 'jquery'; import ReactDOM from 'react-dom'; import * as Utils from 'utils/utils.jsx'; -import client from 'client/web_client.jsx'; +import {sendPasswordResetEmail} from 'actions/user_actions.jsx'; import {FormattedMessage, FormattedHTMLMessage} from 'react-intl'; @@ -45,7 +45,7 @@ class PasswordResetSendLink extends React.Component { error: '' }); - client.sendPasswordReset( + sendPasswordResetEmail( email, () => { this.setState({ |