check mkws.authenticated only for SP config, MKWS-82
[mkws-moved-to-github.git] / tools / htdocs / mkws.js
index 658f849..10a3915 100644 (file)
@@ -422,7 +422,7 @@ function onFormSubmitEventHandler()
 
 function newSearch(query, sort, targets)
 {
-    if (!mkws.authenticated) {
+    if (mkws_config.use_service_proxy && !mkws.authenticated) {
        alert("searching before authentication");
        return;
     }