summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2018-06-03 17:28:08 -0400
committerPliable Pixels <pliablepixels@gmail.com>2018-06-03 17:28:08 -0400
commit6c56421040e915db6f3ffaeb1923876675e7b9cc (patch)
treedc71791aff7a8403a11827a1e38c4a745a13ba88 /www/js
parent0c32a85f0aaff4b4aca386c3c58ce4068a3838e1 (diff)
#641 nullify auth in case of no auth
Diffstat (limited to 'www/js')
-rwxr-xr-xwww/js/DataModel.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/www/js/DataModel.js b/www/js/DataModel.js
index b5abe67f..48929107 100755
--- a/www/js/DataModel.js
+++ b/www/js/DataModel.js
@@ -423,7 +423,9 @@ angular.module('zmApp.controllers')
} else {
log("Data Model: Did not find any stream mode of auth");
as = "";
+ $rootScope.authSession = "";
d.resolve(as);
+ return d.promise;
}
return (d.promise);