summaryrefslogtreecommitdiff
path: root/www/js/LogCtrl.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2016-08-05 14:05:24 -0400
committerPliable Pixels <pliablepixels@gmail.com>2016-08-05 14:05:24 -0400
commitd743aa39f3ddaf5e3f1d5f40e2a3ec9eb90cfc4d (patch)
tree0744e3c746d356e5e791213556a4855231d4c626 /www/js/LogCtrl.js
parentbcee540a8de31a4c9ce12923d8759c21ef2424f2 (diff)
#293 - logs now won't have password stored, and userProfile is cryptoJS ciphered
Former-commit-id: 0db06364a3532cbbb31bd5fa33a488b232f725a5
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 != "")