issue 1655
This commit is contained in:
parent
e51ae24fb4
commit
033b076988
@ -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");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
// }
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user