From d743aa39f3ddaf5e3f1d5f40e2a3ec9eb90cfc4d Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Fri, 5 Aug 2016 14:05:24 -0400 Subject: #293 - logs now won't have password stored, and userProfile is cryptoJS ciphered Former-commit-id: 0db06364a3532cbbb31bd5fa33a488b232f725a5 --- www/js/LogCtrl.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'www/js/LogCtrl.js') 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, ""); - } + }*/ // keep the protocol, helps to debug var urlNoProtocol = loginData.url.replace(/.*?:\/\//, ""); if (urlNoProtocol != "") -- cgit v1.2.3