diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2018-04-27 13:57:38 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2018-04-27 13:57:38 -0400 |
| commit | 51a65814b743ea0b16eca57288a2c2eb20f9e5ac (patch) | |
| tree | 9e2d552b1420aeefeb7fc890cceac4306cec4cda /www/js/DataModel.js | |
| parent | 9625319a4b0f288b3a1e3d89664bac0810a892b1 (diff) | |
cleanup
Diffstat (limited to 'www/js/DataModel.js')
| -rwxr-xr-x | www/js/DataModel.js | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/www/js/DataModel.js b/www/js/DataModel.js index 8c2ba754..a76bf2d3 100755 --- a/www/js/DataModel.js +++ b/www/js/DataModel.js @@ -865,14 +865,15 @@ angular.module('zmApp.controllers') var up = components.userinfo.split(':'); loginData.basicAuthPassword = up[1]; loginData.basicAuthUser = up[0]; - console.log ("SETTING "+loginData.basicAuthUser+" "+loginData.basicAuthPassword); + //console.log ("SETTING "+loginData.basicAuthUser+" "+loginData.basicAuthPassword); } if (loginData.isUseBasicAuth) { $rootScope.basicAuthHeader = 'Basic ' + btoa(loginData.basicAuthUser+':'+loginData.basicAuthPassword); + debug ("Basic authentication detected, constructing Authorization Header"); - console.log ("BASIC AUTH SET TO:"+$rootScope.basicAuthHeader); + // console.log ("BASIC AUTH SET TO:"+$rootScope.basicAuthHeader); } @@ -1703,10 +1704,11 @@ angular.module('zmApp.controllers') return $http.get(req+"&command=17") .then ( function (s) { - debug ("kill success for ck:"+ck+" with:"+JSON.stringify(s)); + // debug ("kill success for ck:"+ck+" with:"+JSON.stringify(s)); }, - function (e) {debug ("kill success for ck:"+ck+" with:"+JSON.stringify(e));} + function (e) {//debug ("kill success for ck:"+ck+" with:"+JSON.stringify(e)); + } ); }, |
