From a97af00d5c848f10c459b6a1a3119e50a857e8f4 Mon Sep 17 00:00:00 2001 From: "venkatesh.r" Date: Tue, 3 Jun 2025 11:17:21 +0530 Subject: [PATCH] FIX_EXPIRED : RV --- app/Controllers/RestAuthenticationController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Controllers/RestAuthenticationController.php b/app/Controllers/RestAuthenticationController.php index 7f2f9f4..b2ab28b 100755 --- a/app/Controllers/RestAuthenticationController.php +++ b/app/Controllers/RestAuthenticationController.php @@ -90,7 +90,7 @@ class RestAuthenticationController extends AdminController ->where('employees.emp_status !=', 'truncated') ->where('employees.mobile', $mobile_number) ->where('EP.is_active', 1) - ->whereIn('EP.status', ['draft', 'enrolled']) + ->whereIn('EP.status', ['draft', 'enrolled', 'expired']) ->first(); @@ -131,7 +131,7 @@ class RestAuthenticationController extends AdminController ->where('employees.emp_status !=', 'truncated') ->where('employees.email_corporate', $email) ->where('EP.is_active', 1) - ->whereIn('EP.status', ['draft', 'enrolled']) + ->whereIn('EP.status', ['draft', 'enrolled', 'expired']) ->first(); if (isset($employeeData['employee_id'])) {