From b058cb3471f068e2ac05d12c70ec481d0b2ca0b9 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Fri, 9 Jan 2015 10:28:45 +0000 Subject: [PATCH] Set sp_auth_credentials rather than entire service_proxy_auth URL. (Of course, the widget code shouldn't be doing this at all!) --- examples/htdocs/mkws-widget-ru.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/htdocs/mkws-widget-ru.js b/examples/htdocs/mkws-widget-ru.js index 20762f7..b2ee812 100644 --- a/examples/htdocs/mkws-widget-ru.js +++ b/examples/htdocs/mkws-widget-ru.js @@ -1,6 +1,4 @@ -var mkws_config = { - service_proxy_auth: "http://sp-mkws.indexdata.com/service-proxy/?command=auth&action=login&username=paratext&password=paratext_mkc" -}; +var mkws_config = { sp_auth_credentials: "paratext/paratext_mkc" }; mkws.registerWidgetType('reference-universe', function() { if (!this.config.perpage) this.config.perpage = 5; -- 1.7.10.4