issue 1655

This commit is contained in:
venbatechnologies@gmail.com 2019-02-08 18:22:05 +05:30
parent e51ae24fb4
commit 033b076988

View File

@ -190,7 +190,7 @@ $scope.EmpLogin=function(myModel)
$http(verify).then(function (response) $http(verify).then(function (response)
{ {
// console.log(response.data.loginStatus)
if (response.data.loginStatus == true) if (response.data.loginStatus == true)
{ {
if (response.data.loginStatus == true) if (response.data.loginStatus == true)
@ -214,10 +214,17 @@ $scope.EmpLogin=function(myModel)
$state.go('app.dashboard'); $state.go('app.dashboard');
} }
} }
else
{
swal("Error!", response.data.message, "error");
}
}); });
// }
} }