FIX_TOCKEN_ISSUE
This commit is contained in:
parent
4f324028ac
commit
3a3e9b417f
@ -894,8 +894,8 @@ class RestAuthenticationController extends AdminController
|
|||||||
|
|
||||||
$hasNonEbPolicy = false;
|
$hasNonEbPolicy = false;
|
||||||
if (!empty($allowedActivePolicies)) {
|
if (!empty($allowedActivePolicies)) {
|
||||||
$db = \Config\Database::connect();
|
|
||||||
$policyAllocgRows = $db->table('client_policy')
|
$policyAllocgRows = $db2->table('client_policy')
|
||||||
->select('policy_type.allocg')
|
->select('policy_type.allocg')
|
||||||
->join('policy_type', 'policy_type.id = client_policy.policy_type_id', 'left')
|
->join('policy_type', 'policy_type.id = client_policy.policy_type_id', 'left')
|
||||||
->whereIn('client_policy.id', $allowedActivePolicies)
|
->whereIn('client_policy.id', $allowedActivePolicies)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user