Update: 2026-05-04 00:13:56

This commit is contained in:
Hamza-Ayed
2026-05-04 00:13:56 +03:00
parent 8357add763
commit 671db50f16
5 changed files with 42 additions and 2 deletions

View File

@@ -52,6 +52,12 @@ foreach ($companies as &$company) {
unset($company['jofotara_client_id_encrypted']);
unset($company['jofotara_secret_key_encrypted']);
unset($company['certificate_password_encrypted']);
// Decrypt Tenant Name (if exists)
if (isset($company['tenant_name'])) {
$decTenantName = Encryption::decrypt($company['tenant_name']);
$company['tenant_name'] = $decTenantName !== false ? $decTenantName : $company['tenant_name'];
}
}
json_success($companies);