summaryrefslogtreecommitdiff
path: root/www/js/MomentCtrl.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/MomentCtrl.js')
-rw-r--r--www/js/MomentCtrl.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/MomentCtrl.js b/www/js/MomentCtrl.js
index 06658e0e..97f864b7 100644
--- a/www/js/MomentCtrl.js
+++ b/www/js/MomentCtrl.js
@@ -265,7 +265,7 @@ angular.module('zmApp.controllers').controller('zmApp.MomentCtrl', ['$scope', '$
"&height="+moment.Event.thumbHeight*2;
if ($rootScope.authSession != 'undefined') stream +=$rootScope.authSession;
- if ($rootScope.basicAuthToken) stream = stream+"&basicauth="+$rootScope.basicAuthToken;
+ stream += NVRDataModel.insertBasicAuthToken();
return stream;
};