diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2015-09-25 12:01:09 -0400 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2015-09-25 12:01:09 -0400 |
commit | 4ef5981e6c43b18cb20d44d2ee96dca02fc3a684 (patch) | |
tree | cd1d11ac768af0d9b98e85660a06a22c65fabaa7 /web/react/components/signup_user_complete.jsx | |
parent | e743ad483aed6c730bb8636bb089a6ef8d8d0097 (diff) | |
parent | e05c6ed6d1df0ccd7c05f237a3b935ca98c93d60 (diff) | |
download | chat-4ef5981e6c43b18cb20d44d2ee96dca02fc3a684.tar.gz chat-4ef5981e6c43b18cb20d44d2ee96dca02fc3a684.tar.bz2 chat-4ef5981e6c43b18cb20d44d2ee96dca02fc3a684.zip |
Merge pull request #806 from mattermost/fixing-redirect
redirect to team after login
Diffstat (limited to 'web/react/components/signup_user_complete.jsx')
-rw-r--r-- | web/react/components/signup_user_complete.jsx | 2 |
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') { |