summaryrefslogtreecommitdiffstats
path: root/webapp/components
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components')
-rw-r--r--webapp/components/do_verify_email.jsx3
-rw-r--r--webapp/components/password_reset_form.jsx2
2 files changed, 2 insertions, 3 deletions
diff --git a/webapp/components/do_verify_email.jsx b/webapp/components/do_verify_email.jsx
index 9065e6bc4..eeb22e4a8 100644
--- a/webapp/components/do_verify_email.jsx
+++ b/webapp/components/do_verify_email.jsx
@@ -21,8 +21,7 @@ export default class DoVerifyEmail extends React.Component {
}
componentWillMount() {
verifyEmail(
- this.props.location.query.uid,
- this.props.location.query.hid,
+ this.props.location.query.token,
() => {
browserHistory.push('/login?extra=verified&email=' + encodeURIComponent(this.props.location.query.email));
},
diff --git a/webapp/components/password_reset_form.jsx b/webapp/components/password_reset_form.jsx
index 0d67eb786..546dce1b3 100644
--- a/webapp/components/password_reset_form.jsx
+++ b/webapp/components/password_reset_form.jsx
@@ -43,7 +43,7 @@ class PasswordResetForm extends React.Component {
});
resetPassword(
- this.props.location.query.code,
+ this.props.location.query.token,
password,
() => {
this.setState({error: null});