From 91fa6c8da1cbf6647791fa43699eb310f990e7e9 Mon Sep 17 00:00:00 2001 From: Reed Garmsen Date: Mon, 27 Jul 2015 13:21:50 -0700 Subject: Removed usage of window.location.origin throughout the codebase --- web/react/components/signup_team_complete.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web/react/components/signup_team_complete.jsx') diff --git a/web/react/components/signup_team_complete.jsx b/web/react/components/signup_team_complete.jsx index 3e8a57308..11882c57f 100644 --- a/web/react/components/signup_team_complete.jsx +++ b/web/react/components/signup_team_complete.jsx @@ -248,7 +248,7 @@ TeamURLPage = React.createClass({
- { window.location.origin + "/" } + { utils.getWindowLocationOrigin() + "/" }
@@ -566,7 +566,7 @@ PasswordPage = React.createClass({ props.state.wizard = "finished"; props.updateParent(props.state, true); - window.location.href = window.location.origin + '/' + props.state.team.name + '/login?email=' + encodeURIComponent(teamSignup.team.email); + window.location.href = utils.getWindowLocationOrigin() + '/' + props.state.team.name + '/login?email=' + encodeURIComponent(teamSignup.team.email); // client.loginByEmail(teamSignup.team.domain, teamSignup.team.email, teamSignup.user.password, // function(data) { -- cgit v1.2.3-1-g7c22