From 65be27787cae797efb15af62a048215bf74f6cce Mon Sep 17 00:00:00 2001
From: Ming-Sir-69 <164483854+Ming-Sir-69@users.noreply.github.com>
Date: Wed, 18 Nov 2026 00:21:53 +0800
Subject: [PATCH] feat(frontend): warn on frequent manual token refreshes
Manual refresh racing the single-use rotating refresh token (e.g. against
the background auto-refresh) can invalidate the grant and pause the
account. Surface this with a tooltip on the refresh action and a
non-blocking warning when the same account is refreshed again within a
minute; the action itself is never blocked.
---
.../src/components/admin/account/AccountActionMenu.vue | 2 +-
frontend/src/i18n/locales/en/admin/accounts.ts | 2 ++
frontend/src/i18n/locales/zh/admin/accounts.ts | 2 ++
frontend/src/views/admin/AccountsView.vue | 9 +++++++++
4 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/frontend/src/components/admin/account/AccountActionMenu.vue b/frontend/src/components/admin/account/AccountActionMenu.vue
index f376cce12d..a6e4a2c2b5 100644
--- a/frontend/src/components/admin/account/AccountActionMenu.vue
+++ b/frontend/src/components/admin/account/AccountActionMenu.vue
@@ -33,7 +33,7 @@
{{ t('admin.accounts.reAuthorize') }}
-