diff options
author | David Meza <dmeza@users.noreply.github.com> | 2017-05-25 09:49:46 -0500 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2017-05-25 10:49:46 -0400 |
commit | 554938a8403a00dda36c77b288dafe374dd2430e (patch) | |
tree | 912f12ede7b7ec81397acba299aa5cf8e05d27e0 /webapp/components/root.jsx | |
parent | b28227ff6b63ee564a91e06f1bac445d333d87d6 (diff) | |
download | chat-554938a8403a00dda36c77b288dafe374dd2430e.tar.gz chat-554938a8403a00dda36c77b288dafe374dd2430e.tar.bz2 chat-554938a8403a00dda36c77b288dafe374dd2430e.zip |
Add RedirectTo after login for Universal linking or deep linking to work (#6304)
Diffstat (limited to 'webapp/components/root.jsx')
-rw-r--r-- | webapp/components/root.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/root.jsx b/webapp/components/root.jsx index 0332a8e0a..9e9ed1111 100644 --- a/webapp/components/root.jsx +++ b/webapp/components/root.jsx @@ -96,7 +96,7 @@ export default class Root extends React.Component { } else if (UserStore.getCurrentUser()) { GlobalActions.redirectUserToDefaultTeam(); } else { - browserHistory.push('/login'); + browserHistory.push('/login' + window.location.search); } } } |