summaryrefslogtreecommitdiff
path: root/www/js/PortalLoginCtrl.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2018-01-08 10:43:25 -0500
committerPliable Pixels <pliablepixels@gmail.com>2018-01-08 10:43:25 -0500
commitaf2b59902e50264a9a34f4ca0a5bdf06ecc13b8d (patch)
treea1d40b5d9e610a30c40ef73cfe0e37a451437cf7 /www/js/PortalLoginCtrl.js
parente4ab4d9769331713288040f96044e188d15d6d49 (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.js2
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");