From ada513a0146cfb570e3614f9b26c0465de3a1d94 Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Wed, 27 Apr 2016 16:03:31 -0400 Subject: Fixing email verification flow (#2806) --- webapp/components/do_verify_email.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'webapp/components') diff --git a/webapp/components/do_verify_email.jsx b/webapp/components/do_verify_email.jsx index fe4d61a72..193205266 100644 --- a/webapp/components/do_verify_email.jsx +++ b/webapp/components/do_verify_email.jsx @@ -21,14 +21,13 @@ export default class DoVerifyEmail extends React.Component { componentWillMount() { const uid = this.props.location.query.uid; const hid = this.props.location.query.hid; - const teamName = this.props.location.query.teamname; const email = this.props.location.query.email; Client.verifyEmail( uid, hid, () => { - browserHistory.push('/' + teamName + '/login?extra=verified&email=' + email); + browserHistory.push('/login?extra=verified&email=' + email); }, (err) => { this.setState({verifyStatus: 'failure', serverError: err.message}); -- cgit v1.2.3-1-g7c22