From c4a3118e9f885e92bb9b7d882898e9a51fc3be69 Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Tue, 2 Aug 2016 16:37:09 -0400 Subject: PLT-3408 Add SiteURL to config.json (#3692) * PLT-3408 Changed serverside code to get the service's URL from config.json * PLT-3408 Changed most clientside code to use the SiteURL config setting instead of window.location * PLT-3408 Changed default SiteURL to be autodetected --- webapp/components/login/login_controller.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webapp/components/login/login_controller.jsx') diff --git a/webapp/components/login/login_controller.jsx b/webapp/components/login/login_controller.jsx index 52f36bb2a..69981cfd6 100644 --- a/webapp/components/login/login_controller.jsx +++ b/webapp/components/login/login_controller.jsx @@ -277,7 +277,7 @@ export default class LoginController extends React.Component { } createLoginOptions() { - const extraParam = Utils.getUrlParameter('extra'); + const extraParam = this.props.location.query.extra; let extraBox = ''; if (extraParam) { if (extraParam === Constants.SIGNIN_CHANGE) { -- cgit v1.2.3-1-g7c22