1687 login

This commit is contained in:
rajasekar 2019-03-04 18:09:22 +05:30
parent d49745cdfe
commit 3799db5328
2 changed files with 3 additions and 3 deletions

View File

@ -482,7 +482,7 @@ class Login_model extends CI_Model
$this->db->join('' . BRANCH . ' as BR', 'BR.BranchCode = SC.BranchCode');
$this->db->where('LO.MobileNumber', $EmpID);
$this->db->where('LO.OTP',$OTP);
$this->db->where('LO.Password',$Password);
// $this->db->where('LO.Password',$Password);
$this->db->where('ST.IsActive', 1);
// $this->db->where('BR.Is_StudentWebAccessActive', 1);
$responseDetails = $this->db->get()->first_row();

View File

@ -431,10 +431,10 @@
<div class="form-group" ng-class="{'has-error':Form.passwordemp.$dirty && Form.passwordemp.$invalid, 'has-success':Form.passwordemp.$valid}" ng-if="Empcheck">
<span class="input-icon">
<input type="password" id="inputPassword4" placeholder="OTP" class="form-control heighLight underline" name="passwordemp" ng-model="myModel.passwordemp"
<input type="text" id="inputPassword4" placeholder="OTP" class="form-control heighLight underline" name="passwordemp" ng-model="myModel.passwordemp"
ng-minlength="6" required/>
<i style="color: black;" class="fa fa-lock"></i>
<span class="error text-small block" ng-if="Form.passwordemp.$dirty && Form.passwordemp.$invalid"> Password Required</span></span>
<span class="error text-small block" ng-if="Form.passwordemp.$dirty && Form.passwordemp.$invalid"> OPT Required</span></span>
</div>