From 43fb4d94601ca9fab5305b059332b2fa4babd833 Mon Sep 17 00:00:00 2001 From: Gowtham M Date: Thu, 9 Oct 2025 15:55:59 +0530 Subject: [PATCH] GWM --- app/Controllers/AuthController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Controllers/AuthController.php b/app/Controllers/AuthController.php index f8c9f60..f5a377c 100644 --- a/app/Controllers/AuthController.php +++ b/app/Controllers/AuthController.php @@ -372,7 +372,7 @@ class AuthController extends ResourceController $user_id = $this->request->getGet(); - $user = $this->userModel->where('user_id', $user_id)->where('is_active',1)->first(); + $user = $this->userModel->select('user_id,first_name,last_name,role_id,org_id,group_id')->where('user_id', $user_id)->where('is_active',1)->first(); // print_r($user);die; if (!$user) { return $this->failUnauthorized('Invalid User');