summaryrefslogtreecommitdiff
path: root/www/js/MenuController.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/MenuController.js')
-rw-r--r--www/js/MenuController.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/www/js/MenuController.js b/www/js/MenuController.js
index 8496acff..318e4d15 100644
--- a/www/js/MenuController.js
+++ b/www/js/MenuController.js
@@ -324,6 +324,10 @@ angular.module('zmApp.controllers').controller('MenuController', ['$scope', '$io
},
function (error) {
+
+ if ($rootScope.userCancelledAuth) {
+ return;
+ }
NVR.displayBanner('error', [$translate.instant('kBannerAPICheckFailed'), $translate.instant('kBannerPleaseCheck')]);
NVR.log("API login error " + JSON.stringify(error));