feat: harden admin auth and ticket workflows

- add rotating admin refresh tokens and password gates\n- expand ticket galleries, exports, and client resources\n- improve IP allocation auditing and dashboard data\n- enforce encrypted client access tokens on public routes
This commit is contained in:
baodev0
2026-10-16 17:00:55 +07:00
parent 0cdf224309
commit 0b08689ea4
52 changed files with 1421 additions and 118 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ class Hosting
])
->acceptJson()
->post("https://$this->url/api/v2/clients", [
'name' => $product_data->Customer->firstname . " " . $product_data->Customer->lastname,
'name' => (string) $product_data->Customer->fullname,
'company' => $product_data->Customer->company,
'login' => $product_data->Customer->email,
'email' => $product_data->Customer->email,
+1 -1
View File
@@ -82,7 +82,7 @@ class Telegram
{
$msg = "🔔 Yêu cầu nạp tiền chờ duyệt!\n";
$msg .= "--------------------------------\n";
$msg .= "👤 Khách: {$customer->firstname} {$customer->lastname}\n";
$msg .= "👤 Khách: {$customer->fullname}\n";
$msg .= "📧 Email: {$customer->email}\n";
$msg .= "💵 Số tiền: " . number_format($transaction->amount, 0, ',', '.') . " VNĐ\n";
$msg .= "🧾 Mã GD: {$transaction->public_code}\n";