From f286615882223adf7bc309c75a142286b5044cc1 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Mon, 30 Apr 2018 10:55:59 -0400 Subject: #618 add token for basic auth as "fyi" for all images --- www/js/MontageCtrl.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'www/js/MontageCtrl.js') diff --git a/www/js/MontageCtrl.js b/www/js/MontageCtrl.js index 40497af7..be20a340 100644 --- a/www/js/MontageCtrl.js +++ b/www/js/MontageCtrl.js @@ -1713,6 +1713,10 @@ angular.module('zmApp.controllers') "&buffer=1000" + $rootScope.authSession + appendConnKey(monitor.Monitor.connKey); + + if ($rootScope.basicAuthToken) stream +="&basicauth="+$rootScope.basicAuthToken; + + //"&rand=" + randToAvoidCacheMem; //"&rand="+$scope.randToAvoidCacheMem + -- cgit v1.2.3