summaryrefslogtreecommitdiff
path: root/www/js/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/app.js')
-rwxr-xr-xwww/js/app.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/js/app.js b/www/js/app.js
index 87f40674..c5c9c8ba 100755
--- a/www/js/app.js
+++ b/www/js/app.js
@@ -1018,7 +1018,8 @@ angular.module('zmApp', [
// This is a good time to check if auth is used :-p
if (!ld.isUseAuth) {
- NVRDataModel.log("Auth is disabled, setting authSession to ''");
+ NVRDataModel.log("Auth is disabled, setting authSession to empty");
+ $rootScope.apiValid = true;
$rootScope.authSession = '';
d.resolve("Login Success");