diff options
author | Christopher Speller <crspeller@gmail.com> | 2017-04-27 10:55:03 -0400 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2017-04-27 10:55:03 -0400 |
commit | 9a87bb3af68216b53ee8f89d6604c715c7b85b2d (patch) | |
tree | 8c06aed890f388b228f3aefb8e398309bc73c0b9 /webapp/components/do_verify_email.jsx | |
parent | 0e007e344bf10993529711f14c4168365c3504c3 (diff) | |
download | chat-9a87bb3af68216b53ee8f89d6604c715c7b85b2d.tar.gz chat-9a87bb3af68216b53ee8f89d6604c715c7b85b2d.tar.bz2 chat-9a87bb3af68216b53ee8f89d6604c715c7b85b2d.zip |
Creating common token store and moving email invites and verification to it (#6213)
Diffstat (limited to 'webapp/components/do_verify_email.jsx')
-rw-r--r-- | webapp/components/do_verify_email.jsx | 3 |
1 files changed, 1 insertions, 2 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)); }, |