diff options
Diffstat (limited to 'www/js/WizardCtrl.js')
| -rw-r--r-- | www/js/WizardCtrl.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/www/js/WizardCtrl.js b/www/js/WizardCtrl.js index b9871407..a1fd7cb2 100644 --- a/www/js/WizardCtrl.js +++ b/www/js/WizardCtrl.js @@ -474,8 +474,10 @@ angular.module('zmApp.controllers').controller('zmApp.WizardCtrl', ['$scope', '$ var b = ""; if ($scope.wizard.useauth && $scope.wizard.usebasicauth) { - b = $scope.wizard.basicuser + ":" + $scope.wizard.basicpassword + "@"; + // b = $scope.wizard.basicuser + ":" + $scope.wizard.basicpassword + "@"; //console.log("B=" + b); + $rootScope.basicAuthHeader = 'Basic ' + btoa($scope.wizard.basicuser+':'+$scope.wizard.basicpassword); + //console.log (">>>> WIZARD SET BASIC AUTH TO " + $rootScope.basicAuthHeader); } var u = c.scheme + "://" + b + c.host; if (c.port) u += ":" + c.port; |
