Commit 24f1fb390d835b10ae6248b811b3d628abc608b8

Authored by Nikita Kulshreshtha
1 parent 56f6bcaa

removed unused code.

400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
@@ -455,12 +455,7 @@ function ($rootScope, $scope, Modules, $log, $location, $timeout, DataService, A @@ -455,12 +455,7 @@ function ($rootScope, $scope, Modules, $log, $location, $timeout, DataService, A
455 455
456 function (result) { 456 function (result) {
457 console.log(result); 457 console.log(result);
458 - if (result == LoginConstants.USER_NOT_FOUND) {  
459 - $rootScope.isVisibleLogin = true;  
460 - // alert(LoginMessageConstants.USER_OR_PASSWORD_INCORRECT);  
461 - $rootScope.errorMessage = LoginMessageConstants.INVALID_USER;  
462 - $("#messageModal").modal('show');  
463 - } 458 +
464 }, 459 },
465 function (error) { } 460 function (error) { }
466 ) 461 )