summaryrefslogtreecommitdiffstats
path: root/web/react/components/signup_user_complete.jsx
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-09-25 08:36:02 -0700
committer=Corey Hulen <corey@hulen.com>2015-09-25 08:36:02 -0700
commite05c6ed6d1df0ccd7c05f237a3b935ca98c93d60 (patch)
tree27b3c432c318406b130cceb4224ce4d1689edbc6 /web/react/components/signup_user_complete.jsx
parentab7b36089cbe781273fbfc15341b5276c8b3e34b (diff)
downloadchat-e05c6ed6d1df0ccd7c05f237a3b935ca98c93d60.tar.gz
chat-e05c6ed6d1df0ccd7c05f237a3b935ca98c93d60.tar.bz2
chat-e05c6ed6d1df0ccd7c05f237a3b935ca98c93d60.zip
redirect to team after login
Diffstat (limited to 'web/react/components/signup_user_complete.jsx')
-rw-r--r--web/react/components/signup_user_complete.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/signup_user_complete.jsx b/web/react/components/signup_user_complete.jsx
index 8311747ee..495159efc 100644
--- a/web/react/components/signup_user_complete.jsx
+++ b/web/react/components/signup_user_complete.jsx
@@ -84,7 +84,7 @@ export default class SignupUserComplete extends React.Component {
if (this.props.hash > 0) {
BrowserStore.setGlobalItem(this.props.hash, JSON.stringify({wizard: 'finished'}));
}
- window.location.href = '/';
+ window.location.href = '/' + this.props.teamName + '/channels/town-square';
}.bind(this),
function emailLoginFailure(err) {
if (err.message === 'Login failed because email address has not been verified') {