summaryrefslogtreecommitdiff
path: root/www/js/TimelineModalCtrl.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2018-04-30 12:06:02 -0400
committerPliable Pixels <pliablepixels@gmail.com>2018-04-30 12:06:02 -0400
commitd49c8b89ab7c97839516d8f57dcaad4d714f3aea (patch)
tree72ca1f89546d9485f5a23350a9b05424fbbdd015 /www/js/TimelineModalCtrl.js
parent81be03e8259d967c468871b426c0ac1cd11657c2 (diff)
#618 make this optional in dev settings
Diffstat (limited to 'www/js/TimelineModalCtrl.js')
-rw-r--r--www/js/TimelineModalCtrl.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/js/TimelineModalCtrl.js b/www/js/TimelineModalCtrl.js
index d442b47d..fb1e480f 100644
--- a/www/js/TimelineModalCtrl.js
+++ b/www/js/TimelineModalCtrl.js
@@ -64,7 +64,8 @@ angular.module('zmApp.controllers').controller('TimelineModalCtrl', ['$scope', '
}
if ($rootScope.authSession !='undefined') stream+=$rootScope.authSession;
- if ($rootScope.basicAuthToken) stream +="&basicauth="+$rootScope.basicAuthToken;
+
+ stream+= NVRDataModel.insertBasicAuthToken();
return stream;
};