summaryrefslogtreecommitdiff
path: root/www/js/LoginCtrl.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2018-09-13 12:13:38 -0400
committerPliable Pixels <pliablepixels@gmail.com>2018-09-13 12:13:38 -0400
commit299a10fd77c12a2585abdd3010b93c9cd36ec863 (patch)
treec40f34ac6c12dad49bda5473e7ee4ae3b111e09d /www/js/LoginCtrl.js
parent80f997741d3b96a640ca3ea7cc74d43159f5ed7e (diff)
#704 more fixes for basic auth profiles
Diffstat (limited to 'www/js/LoginCtrl.js')
-rw-r--r--www/js/LoginCtrl.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/LoginCtrl.js b/www/js/LoginCtrl.js
index 923e1baa..5c81a952 100644
--- a/www/js/LoginCtrl.js
+++ b/www/js/LoginCtrl.js
@@ -568,7 +568,7 @@ angular.module('zmApp.controllers').controller('zmApp.LoginCtrl', ['$scope', '$r
$rootScope.basicAuthToken = '';
// console.log ("CLEARING AUTH");
} else {
- $rootScope.basicAuthToken = btoa($scope.loginData.basicAuthUser + ':' + $scope.loginData.basicAuthPassword);
+ $rootScope.basicAuthToken = btoa(loginData.basicAuthUser + ':' + loginData.basicAuthPassword);
$rootScope.basicAuthHeader = 'Basic ' + $rootScope.basicAuthToken;
}