summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/js/LoginCtrl.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/www/js/LoginCtrl.js b/www/js/LoginCtrl.js
index 59b7ad2d..99660989 100644
--- a/www/js/LoginCtrl.js
+++ b/www/js/LoginCtrl.js
@@ -773,6 +773,10 @@ angular.module('zmApp.controllers').controller('zmApp.LoginCtrl', ['$scope', '$r
});
}
+ else // make sure CGI error is always shown
+ {
+ NVRDataModel.displayBanner('error', [loginStatus]);
+ }
NVRDataModel.debug("refreshing API version...");
NVRDataModel.getAPIversion()
.then(function(data)