summaryrefslogtreecommitdiff
path: root/www/js/app.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2018-07-24 11:02:19 -0400
committerPliable Pixels <pliablepixels@gmail.com>2018-07-24 11:02:19 -0400
commit3b829d0411ac491720ea563017875eaf6a8de327 (patch)
tree658ed49313840c7e80039f576454aede0314fdfc /www/js/app.js
parent9c28b510df564f6e0e4787202d7efd31796682e6 (diff)
fix "no such state invalidapi" and other api auth border cases
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");