diff OrthancExplorer/explorer.js @ 3534:cac8ffcb9cef

forcing AuthenticationEnabled to false is considered as insecure if remote access is allowed
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 04 Oct 2019 19:16:12 +0200
parents 2090ec6a83a5
children 35b4d56664a6
line wrap: on
line diff
--- a/OrthancExplorer/explorer.js	Fri Oct 04 17:41:43 2019 +0200
+++ b/OrthancExplorer/explorer.js	Fri Oct 04 19:16:12 2019 +0200
@@ -395,8 +395,8 @@
       }
 
       // New in Orthanc 1.5.8
-      if ('IsDefaultUser' in s &&
-          s.IsDefaultUser) {
+      if ('IsHttpServerSecure' in s &&
+          !s.IsHttpServerSecure) {
         $('.warning-insecure').show();
       } else {
         $('.warning-insecure').hide();