瀏覽代碼

HPCC-19363 Change Logout redirect URL for legacy ECLWatch

After logged out, a user will be redirected to the login page.
The default installation folder for login page is changed to
/esp/files/. Both legacy ECLWatch code and WsECL code have to
match the changes.

Signed-off-by: wangkx <kevin.wang@lexisnexis.com>
wangkx 7 年之前
父節點
當前提交
f59b989920
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      esp/files/esp_app_tree.html
  2. 1 1
      esp/xslt/espheader.xsl

+ 1 - 1
esp/files/esp_app_tree.html

@@ -366,7 +366,7 @@ function writeESPappname(appname)
         logoutRequest.onreadystatechange = function()
         { 
           if (logoutRequest.readyState == 4 && logoutRequest.status == 200)
-            parent.location = '/esp/files/eclwatch/templates/Login.html';
+            parent.location = '/esp/files/Login.html';
           else
             console.log("Logout failed: " + logoutRequest.status);
         }

+ 1 - 1
esp/xslt/espheader.xsl

@@ -43,7 +43,7 @@
             logoutRequest.onreadystatechange = function()
             { 
               if (logoutRequest.readyState == 4 && logoutRequest.status == 200)
-                parent.location = '/esp/files/eclwatch/templates/Login.html';
+                parent.location = '/esp/files/Login.html';
               else
                 console.log("Logout failed: " + logoutRequest.status);
             }