summaryrefslogtreecommitdiff
path: root/www/js/LogCtrl.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/LogCtrl.js')
-rw-r--r--www/js/LogCtrl.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/www/js/LogCtrl.js b/www/js/LogCtrl.js
index f7c2f66a..31e580e3 100644
--- a/www/js/LogCtrl.js
+++ b/www/js/LogCtrl.js
@@ -96,12 +96,14 @@ angular.module('zmApp.controllers').controller('zmApp.LogCtrl', ['$scope', '$roo
// do my best to replace sensitive information
var loginData = ZMDataModel.getLogin();
- // if its null you will see deleted everywhere
- if (loginData.password !="")
+
+
+ // We don't need this anymore as zmLog and zmDebug now strip passwords
+ /*if (loginData.password !="")
{
var re1 = new RegExp(loginData.password, "g");
logstring = logstring.replace(re1, "<deleted>");
- }
+ }*/
// keep the protocol, helps to debug
var urlNoProtocol = loginData.url.replace(/.*?:\/\//, "");
if (urlNoProtocol != "")