From: Mike Taylor Date: Fri, 7 Nov 2014 11:03:04 +0000 (+0000) Subject: Remove "XXX/XXX" default sp_auth_credentials: related to MKSP-125. X-Git-Tag: 1.0.0~70 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=08572db1f1fc46d2d26ec63e93a7854529b4769c Remove "XXX/XXX" default sp_auth_credentials: related to MKSP-125. According to the very helpful X-MK-Component header, http://sp-mkws.indexdata.com/service-proxy/ is now using Service-Proxy 0.39. That means that the fix to MKWS-125 is in production (as it was fixed in v0.38), so I can get rid of the horrible hack where MKWS has been deliberately sending the credentials XXX/XXX then the application provides none, in the hope that they're incorrect. Hurrah! --- diff --git a/src/mkws-core.js b/src/mkws-core.js index 6b71bc1..0018509 100644 --- a/src/mkws-core.js +++ b/src/mkws-core.js @@ -159,7 +159,7 @@ mkws.setMkwsConfig = function(overrides) { service_proxy_auth: undefined, sp_auth_path: "service-proxy/", sp_auth_query: "command=auth&action=perconfig", - sp_auth_credentials: "XXX/XXX", // Should be undefined: see bug MKSP-125. + sp_auth_credentials: undefined, lang: "", sort_options: [["relevance"], ["title:1", "title"], ["date:0", "newest"], ["date:1", "oldest"]], perpage_options: [10, 20, 30, 50],