diff options
author | Christopher Speller <crspeller@gmail.com> | 2016-03-24 11:05:13 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-03-24 11:05:13 -0400 |
commit | b62e29ba9cd6183551266da05b9b602a4415d738 (patch) | |
tree | ea759d6d46cc49386bcd66a8b9b8542f75b1c77e /webapp/components/login_email.jsx | |
parent | 68dad8c7345b12c7d0b10709ddc1873d4b40163e (diff) | |
download | chat-b62e29ba9cd6183551266da05b9b602a4415d738.tar.gz chat-b62e29ba9cd6183551266da05b9b602a4415d738.tar.bz2 chat-b62e29ba9cd6183551266da05b9b602a4415d738.zip |
Moving all links and redirects to react-router
Diffstat (limited to 'webapp/components/login_email.jsx')
-rw-r--r-- | webapp/components/login_email.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/login_email.jsx b/webapp/components/login_email.jsx index e30b66fa3..d54c32ff9 100644 --- a/webapp/components/login_email.jsx +++ b/webapp/components/login_email.jsx @@ -79,7 +79,7 @@ class LoginEmail extends React.Component { }, (err) => { if (err.id === 'api.user.login.not_verified.app_error') { - window.location.href = '/verify_email?teamname=' + encodeURIComponent(name) + '&email=' + encodeURIComponent(email); + browserHistory.push('/verify_email?teamname=' + encodeURIComponent(name) + '&email=' + encodeURIComponent(email)); return; } state.serverError = err.message; |