From: Mike Taylor Date: Fri, 9 Jan 2015 10:28:45 +0000 (+0000) Subject: Set sp_auth_credentials rather than entire service_proxy_auth URL. X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=b058cb3471f068e2ac05d12c70ec481d0b2ca0b9;hp=7bb486908a3006d638465b5af0feaffa12b33c31 Set sp_auth_credentials rather than entire service_proxy_auth URL. (Of course, the widget code shouldn't be doing this at all!) --- 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;