summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js')
-rw-r--r--www/js/NVR.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/js/NVR.js b/www/js/NVR.js
index 1e7e534b..fcde6fed 100644
--- a/www/js/NVR.js
+++ b/www/js/NVR.js
@@ -752,7 +752,7 @@ angular.module('zmApp.controllers')
if (!mid) {
log("Deferring auth key, as monitorId unknown");
- d.resolve("undefined");
+ d.resolve("");
$rootScope.authSession = as;
return (d.promise);
}
@@ -793,7 +793,7 @@ angular.module('zmApp.controllers')
},
function (error) {
log("NVR: Error resolving auth key " + JSON.stringify(error));
- d.resolve("undefined");
+ d.resolve("");
return (d.promise);
});
return (d.promise);