diff --git a/Apollo/api/application/models/Login_model.php b/Apollo/api/application/models/Login_model.php index 4f15c377..ddad06f2 100755 --- a/Apollo/api/application/models/Login_model.php +++ b/Apollo/api/application/models/Login_model.php @@ -463,7 +463,7 @@ class Login_model extends CI_Model $result['loginStatus'] = false; $result['loginemployee'] = false; $result['checkemp'] = false; - $result['message'] = "Your login is de-activated or don't have login."; + $result['message'] = "Please Enter Correct Password."; } diff --git a/Apollo/assets/js/controllers/loginCtrl.js b/Apollo/assets/js/controllers/loginCtrl.js index f0c367af..7befff75 100755 --- a/Apollo/assets/js/controllers/loginCtrl.js +++ b/Apollo/assets/js/controllers/loginCtrl.js @@ -101,7 +101,7 @@ app.controller('loginCtrl', ["$scope", "$http", "API_POINTS", "$state", '$rootSc swal("Warning!", response.data.message, "warning"); } - if(response.data.checkemp == false) + if(response.data.checkemp == true) { swal("Warning!", response.data.message, "warning"); } @@ -173,7 +173,7 @@ app.controller('loginCtrl', ["$scope", "$http", "API_POINTS", "$state", '$rootSc $http(req).then(function(response){ //alert(otpcheck); -//console.log(response) +console.log(response) if(otpcheck == undefined) { swal.close();