From f7a2b221e16cf717a873d19b48d47bdbe41f28c2 Mon Sep 17 00:00:00 2001 From: Sunev Date: Wed, 29 Jul 2026 12:08:09 +0800 Subject: [PATCH] fix(api): add verifier field to currentUser response Include the `verifier` field in the JSON response from the currentUser endpoint to ensure API compatibility with client-side expectations. This was introduced in [this commit](https://github.com/rustdesk/rustdesk/commit/8f545491a284b15fecd6819e9e7081c9ce4a52db#diff-b72772c65319a36673d9bb607977905b20da07048b808da7910602fb16f9e030R1374) --- api/views_api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/api/views_api.py b/api/views_api.py index b11efcd9..b8ed66a4 100644 --- a/api/views_api.py +++ b/api/views_api.py @@ -129,6 +129,7 @@ def currentUser(request): result['access_token'] = token.access_token result['type'] = 'access_token' result['name'] = user.username + result['verifier'] = '' return JsonResponse(result)