diff --git a/inc/html.php b/inc/html.php
index e6221c14bc97fa7b8b619815019fa7c1c504f6a1..e6e1e7e8c7fc9cc5dc361e0d4247b1e62857e2f9 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -1078,6 +1078,10 @@ function html_signature(){
 function html_debug(){
   global $conf;
   global $lang;
+  //remove sensitive data
+  $cnf = $conf;
+  $cnf['auth']='***';
+  $cnf['notify']='***';
 
   print '<html><body>';
 
@@ -1090,7 +1094,7 @@ function html_debug(){
   print '</pre>';
 
   print '<b>$conf:</b><pre>';
-  print_r($conf);
+  print_r($cnf);
   print '</pre>';
 
   print '<b>abs baseURL:</b><pre>';