From 24f1fb390d835b10ae6248b811b3d628abc608b8 Mon Sep 17 00:00:00 2001 From: nikita Date: Tue, 28 Aug 2018 11:01:48 +0530 Subject: [PATCH] removed unused code. --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index 3cc127e..58b7625 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -455,12 +455,7 @@ function ($rootScope, $scope, Modules, $log, $location, $timeout, DataService, A function (result) { console.log(result); - if (result == LoginConstants.USER_NOT_FOUND) { - $rootScope.isVisibleLogin = true; - // alert(LoginMessageConstants.USER_OR_PASSWORD_INCORRECT); - $rootScope.errorMessage = LoginMessageConstants.INVALID_USER; - $("#messageModal").modal('show'); - } + }, function (error) { } ) -- libgit2 0.21.4