changeset 7128:2ce307ea1309

clarified logs
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 14 Aug 2026 20:22:32 +0200
parents 133a8ad4f472
children 662d58ce7ddf 0743d0bd2a60
files OrthancServer/Sources/OrthancConfiguration.cpp
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/Sources/OrthancConfiguration.cpp	Fri Aug 14 18:09:56 2026 +0200
+++ b/OrthancServer/Sources/OrthancConfiguration.cpp	Fri Aug 14 20:22:32 2026 +0200
@@ -919,8 +919,9 @@
           if ((username == "orthanc" && password == "orthanc") ||
               (username == "alice" && password == "orthanctest"))
           {
-            LOG(WARNING) << "====> Your configuration contains a well-known user-password pair, "
-                         << "your setup is POSSIBLY INSECURE <====";
+            LOG(WARNING) << "====> Your configuration contains a username/password pair with well-known credentials "
+                         << "(check out username \"" << username << "\" in option \"" << REGISTERED_USERS
+                         << "\"), your setup is POSSIBLY INSECURE <====";
             hasInsecureUser = true;
           }
         }