comparison 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
comparison
equal deleted inserted replaced
3533:2090ec6a83a5 3534:cac8ffcb9cef
393 .text(s.Name) 393 .text(s.Name)
394 .append(' &raquo; ')); 394 .append(' &raquo; '));
395 } 395 }
396 396
397 // New in Orthanc 1.5.8 397 // New in Orthanc 1.5.8
398 if ('IsDefaultUser' in s && 398 if ('IsHttpServerSecure' in s &&
399 s.IsDefaultUser) { 399 !s.IsHttpServerSecure) {
400 $('.warning-insecure').show(); 400 $('.warning-insecure').show();
401 } else { 401 } else {
402 $('.warning-insecure').hide(); 402 $('.warning-insecure').hide();
403 } 403 }
404 } 404 }