From a022b0aff97e41fd4a6bbc6e9a1684490800e4d8 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Thu, 21 Aug 2014 16:48:42 +0100 Subject: [PATCH] Use the property name sp_auth_credentials in place of the less specific credentials. --- src/mkws-core.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mkws-core.js b/src/mkws-core.js index 73571cc..b7a030e 100644 --- a/src/mkws-core.js +++ b/src/mkws-core.js @@ -172,7 +172,7 @@ mkws.setMkwsConfig = function(overrides) { pp2_hostname: "mkws.indexdata.com", sp_path: "service-proxy-auth", sp_auth_query: undefined, // Will be: "command=auth&action=perconfig", - credentials: undefined, + sp_auth_credentials: undefined, lang: "", sort_options: [["relevance"], ["title:1", "title"], ["date:0", "newest"], ["date:1", "oldest"]], perpage_options: [10, 20, 30, 50], @@ -667,7 +667,7 @@ mkws.pagerNext = function(tname) { if (q) { s += '?' + q; } - var c = config.credentials; + var c = config.sp_auth_credentials; if (c) { s += ('&username=' + c.substr(0, c.indexOf('/')) + '&password=' + c.substr(c.indexOf('/')+1)); -- 1.7.10.4