From ad715e338ab2eb7ca1dc59e52a9100addbd8ec32 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Tue, 17 Apr 2018 20:36:49 -0400 Subject: #613 --- www/js/WizardCtrl.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'www/js/WizardCtrl.js') 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; -- cgit v1.2.3