diff --git a/frontend/src/views/Header.vue b/frontend/src/views/Header.vue index 7458adb8..535a2af3 100644 --- a/frontend/src/views/Header.vue +++ b/frontend/src/views/Header.vue @@ -18,7 +18,7 @@ const { toClipboard } = useClipboard() const message = useMessage() const { - jwt, localeCache, toggleDark, isDark, settings, + jwt, localeCache, toggleDark, isDark, settings, showPassword, showAuth, adminAuth, auth, loading } = useGlobalState() const route = useRoute() @@ -269,6 +269,14 @@ onMounted(async () => { + + +

{{ t("passwordTip") }}

+
+ + {{ jwt }} + +

{{ t('accessTip') }}

diff --git a/frontend/src/views/user/Account.vue b/frontend/src/views/user/Account.vue index 64804cd9..861f574a 100644 --- a/frontend/src/views/user/Account.vue +++ b/frontend/src/views/user/Account.vue @@ -89,14 +89,6 @@ const deleteAccount = async () => { {{ t('delteAccount') }} - - -

{{ t("passwordTip") }}

-
- - {{ jwt }} - -

{{ t('logoutConfirm') }}