diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2018-06-05 09:24:50 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2018-06-05 09:24:50 -0400 |
| commit | d981b403912ffe131fdd311c1109ffce012682f4 (patch) | |
| tree | 8183bc1d125f49222de5026fd4496c9e383aea5c /www/js/app.js | |
| parent | ee729b9fb44f2c637c962cfa158f183d7b528613 (diff) | |
#641 handle resume authSession clearing
Diffstat (limited to 'www/js/app.js')
| -rwxr-xr-x | www/js/app.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/www/js/app.js b/www/js/app.js index 04f05987..2343b72b 100755 --- a/www/js/app.js +++ b/www/js/app.js @@ -1006,7 +1006,8 @@ angular.module('zmApp', [ // This is a good time to check if auth is used :-p if (!ld.isUseAuth) { - NVRDataModel.log("Auth is disabled!"); + NVRDataModel.log("Auth is disabled, setting authSession to ''"); + $rootScope.authSession=''; d.resolve("Login Success"); $rootScope.$broadcast('auth-success', 'no auth'); |
