diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-06-26 08:16:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-26 08:16:57 -0400 |
commit | 23ccfc845ca2350075f6027e16c6206fc7b71716 (patch) | |
tree | 3fd1f896a5a24b43913be03b21c85638dd7c356e /webapp/components/password_reset_send_link.jsx | |
parent | fe7e9d95b30ae2195fcba68db960866db91ce045 (diff) | |
download | chat-23ccfc845ca2350075f6027e16c6206fc7b71716.tar.gz chat-23ccfc845ca2350075f6027e16c6206fc7b71716.tar.bz2 chat-23ccfc845ca2350075f6027e16c6206fc7b71716.zip |
Move remaining actions over to use redux and v4 endpoints (#6720)
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({ |