diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2018-01-08 10:43:25 -0500 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2018-01-08 10:43:25 -0500 |
| commit | af2b59902e50264a9a34f4ca0a5bdf06ecc13b8d (patch) | |
| tree | a1d40b5d9e610a30c40ef73cfe0e37a451437cf7 /www/js/PortalLoginCtrl.js | |
| parent | e4ab4d9769331713288040f96044e188d15d6d49 (diff) | |
#499 - fix case when you try and configure ES before logging into portal (first setup)
Diffstat (limited to 'www/js/PortalLoginCtrl.js')
| -rw-r--r-- | www/js/PortalLoginCtrl.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/PortalLoginCtrl.js b/www/js/PortalLoginCtrl.js index e1cf5343..a7d25f84 100644 --- a/www/js/PortalLoginCtrl.js +++ b/www/js/PortalLoginCtrl.js @@ -27,7 +27,7 @@ angular.module('zmApp.controllers').controller('zmApp.PortalLoginCtrl', ['$ionic $scope.pinPrompt = false; // if true, then PIN is displayed else skip - if (NVRDataModel.isLoggedIn()) + if (NVRDataModel.hasLoginInfo()) { NVRDataModel.log("User credentials are provided"); |
