summaryrefslogtreecommitdiff
path: root/www/js/WizardCtrl.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2018-04-17 20:36:49 -0400
committerPliable Pixels <pliablepixels@gmail.com>2018-04-17 20:36:49 -0400
commitad715e338ab2eb7ca1dc59e52a9100addbd8ec32 (patch)
treec05530c74206940db3d5fd9ec54e71cc5b37eb8c /www/js/WizardCtrl.js
parent7a6d87d822c0f7e0bf915fa08e4af97bfe381375 (diff)
#613
Diffstat (limited to 'www/js/WizardCtrl.js')
-rw-r--r--www/js/WizardCtrl.js4
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;