diff --git a/docs/content/docs/en/reference/api/clients.mdx b/docs/content/docs/en/reference/api/clients.mdx index 7befebe7b..67c5aedec 100644 --- a/docs/content/docs/en/reference/api/clients.mdx +++ b/docs/content/docs/en/reference/api/clients.mdx @@ -227,8 +227,8 @@ _openapi: title: Reset the recorded IP list for a client. url: '#reset-the-recorded-ip-list-for-a-client' - depth: 2 - title: List registered HWID devices for a client. Hashes are not exposed. - url: '#list-registered-hwid-devices-for-a-client-hashes-are-not-exposed' + title: List registered HWID devices for a client with a short fingerprint. Full hashes are not exposed. + url: '#list-registered-hwid-devices-for-a-client-with-a-short-fingerprint-full-hashes-are-not-exposed' - depth: 2 title: Clear all registered HWID devices for a client so new devices can register again. @@ -473,8 +473,8 @@ _openapi: id: list-source-ips-that-have-connected-with-the-given-clients-credentials-returns-an-array-of-ip-timestamp-strings - content: Reset the recorded IP list for a client. id: reset-the-recorded-ip-list-for-a-client - - content: List registered HWID devices for a client. Hashes are not exposed. - id: list-registered-hwid-devices-for-a-client-hashes-are-not-exposed + - content: List registered HWID devices for a client with a short fingerprint. Full hashes are not exposed. + id: list-registered-hwid-devices-for-a-client-with-a-short-fingerprint-full-hashes-are-not-exposed - content: Clear all registered HWID devices for a client so new devices can register again. id: clear-all-registered-hwid-devices-for-a-client-so-new-devices-can-register-again diff --git a/docs/public/openapi.json b/docs/public/openapi.json index 0df587bf6..8b2231561 100644 --- a/docs/public/openapi.json +++ b/docs/public/openapi.json @@ -9604,7 +9604,7 @@ "tags": [ "Clients" ], - "summary": "List registered HWID devices for a client. Hashes are not exposed.", + "summary": "List registered HWID devices for a client with a short fingerprint. Full hashes are not exposed.", "operationId": "post_panel_api_clients_hwids_email", "parameters": [ { @@ -9644,7 +9644,8 @@ "userAgent": "Happ/1.0", "deviceOs": "android", "osVersion": "15", - "deviceModel": "Pixel 9" + "deviceModel": "Pixel 9", + "fingerprint": "6ad17c93e821" } ] } diff --git a/frontend/public/openapi.json b/frontend/public/openapi.json index 0df587bf6..8b2231561 100644 --- a/frontend/public/openapi.json +++ b/frontend/public/openapi.json @@ -9604,7 +9604,7 @@ "tags": [ "Clients" ], - "summary": "List registered HWID devices for a client. Hashes are not exposed.", + "summary": "List registered HWID devices for a client with a short fingerprint. Full hashes are not exposed.", "operationId": "post_panel_api_clients_hwids_email", "parameters": [ { @@ -9644,7 +9644,8 @@ "userAgent": "Happ/1.0", "deviceOs": "android", "osVersion": "15", - "deviceModel": "Pixel 9" + "deviceModel": "Pixel 9", + "fingerprint": "6ad17c93e821" } ] } diff --git a/frontend/src/components/clients/ClientHwidList.tsx b/frontend/src/components/clients/ClientHwidList.tsx index 8c3380a02..5b3302831 100644 --- a/frontend/src/components/clients/ClientHwidList.tsx +++ b/frontend/src/components/clients/ClientHwidList.tsx @@ -101,6 +101,14 @@ export default function ClientHwidListModal({ )} + {entry.fingerprint && ( + <> +
+ + {t('pages.clients.hwidFingerprint')}: {entry.fingerprint} + + + )}