From: Jason Skomorowski Date: Tue, 12 Aug 2014 16:15:43 +0000 (-0400) Subject: Only authenticate if !mkws.authenticated X-Git-Tag: 1.0.0~335 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=d4c1b7bf879c61e8d622764bf68f0f5d81812cc7;p=mkws-moved-to-github.git Only authenticate if !mkws.authenticated --- diff --git a/src/mkws-core.js b/src/mkws-core.js index 94060a2..9c46f27 100644 --- a/src/mkws-core.js +++ b/src/mkws-core.js @@ -623,7 +623,7 @@ mkws.pagerNext = function(tname) { } */ - if (mkws.config.use_service_proxy) { + if (mkws.config.use_service_proxy && !mkws.authenticated) { authenticateSession(mkws.config.service_proxy_auth, mkws.config.service_proxy_auth_domain, mkws.config.pazpar2_url);