summaryrefslogtreecommitdiffstats
path: root/webapp/components/root.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/root.jsx')
-rw-r--r--webapp/components/root.jsx2
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);
}
}
}