--- ntop-current/globals.h.old	Sat Feb  2 07:40:09 2002
+++ ntop-current/globals.h	Sat Feb  2 07:40:34 2002
@@ -68,5 +68,5 @@
 
   /* command line options */
-  u_short traceLevel, debugMode, useSyslog, accuracyLevel;
+  u_short traceLevel, debugMode, useSyslog, accuracyLevel, noAdminPasswordHint;
   u_char enableSessionHandling, enablePacketDecoding, enableFragmentHandling;
   u_char stickyHosts, enableSuspiciousPacketDump, trackOnlyLocalHosts;
--- ntop-current/main.c.old2	Sat Feb  2 07:40:21 2002
+++ ntop-current/main.c	Sat Feb  2 07:43:16 2002
@@ -172,4 +172,5 @@
   { "throughput-bar-chart",             no_argument,       NULL, 129 },
 #endif
+  {"no-admin-password-hint",            no_argument,       NULL, 130},
 
   {NULL, 0, NULL, 0}
 #endif /* WIN32 */
@@ -695,4 +697,9 @@
       break;
 #endif
+
+    case 130:
+      /* Flag to remove userid/password hint from authorization dialogs (BMS 26Jan2002) */
+      myGlobals.noAdminPasswordHint = 1;
+      break;
 
     default:
--- ntop-current/globals-core.c.old2	Sat Feb  2 07:41:21 2002
+++ ntop-current/globals-core.c	Sat Feb  2 07:43:57 2002
@@ -104,4 +104,6 @@
 #endif
 
+  myGlobals.noAdminPasswordHint = 0;
+
   /* command line options */
   myGlobals.traceLevel = DEFAULT_TRACE_LEVEL;
--- ntop-current/http.c.old	Sat Feb  2 07:40:14 2002
+++ ntop-current/http.c	Sat Feb  2 07:40:34 2002
@@ -749,5 +749,9 @@
 
   if(headerFlags & HTTP_FLAG_NEED_AUTHENTICATION) {
-    sendString("WWW-Authenticate: Basic realm=\"ntop HTTP server [default user=admin,pw=admin];\"\n");
+    if (myGlobals.noAdminPasswordHint == 1) {
+        sendString("WWW-Authenticate: Basic realm=\"ntop HTTP server;\"\n");
+    } else {
+        sendString("WWW-Authenticate: Basic realm=\"ntop HTTP server [default user=admin,pw=admin];\"\n");
+    }
   }
 
