FIX_TOCKEN_ISSUE

This commit is contained in:
VENKATESHWARAN 2026-07-15 12:36:30 +05:30
parent 4f324028ac
commit 3a3e9b417f

View File

@ -894,8 +894,8 @@ class RestAuthenticationController extends AdminController
$hasNonEbPolicy = false;
if (!empty($allowedActivePolicies)) {
$db = \Config\Database::connect();
$policyAllocgRows = $db->table('client_policy')
$policyAllocgRows = $db2->table('client_policy')
->select('policy_type.allocg')
->join('policy_type', 'policy_type.id = client_policy.policy_type_id', 'left')
->whereIn('client_policy.id', $allowedActivePolicies)