projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bb4869
)
Set sp_auth_credentials rather than entire service_proxy_auth URL.
author
Mike Taylor
<mike@indexdata.com>
Fri, 9 Jan 2015 10:28:45 +0000
(10:28 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Fri, 9 Jan 2015 10:28:45 +0000
(10:28 +0000)
(Of course, the widget code shouldn't be doing this at all!)
examples/htdocs/mkws-widget-ru.js
patch
|
blob
|
history
diff --git
a/examples/htdocs/mkws-widget-ru.js
b/examples/htdocs/mkws-widget-ru.js
index
20762f7
..
b2ee812
100644
(file)
--- 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;