diff --git a/apps/locales/zh_Hant/LC_MESSAGES/django.po b/apps/locales/zh_Hant/LC_MESSAGES/django.po index 1c0665053..a8f7da346 100644 --- a/apps/locales/zh_Hant/LC_MESSAGES/django.po +++ b/apps/locales/zh_Hant/LC_MESSAGES/django.po @@ -8626,5 +8626,5 @@ msgstr "添加個人系統API KEY" msgid "Generate related documents" msgstr "生成相關文檔" -msgid "Generate related documents" +msgid "Modify application access token" msgstr "修改應用程序訪問權杖" \ No newline at end of file diff --git a/ui/src/views/login/index.vue b/ui/src/views/login/index.vue index 06d9c2aec..7713b0175 100644 --- a/ui/src/views/login/index.vue +++ b/ui/src/views/login/index.vue @@ -192,12 +192,7 @@ const loginHandle = () => { login.asyncLogin(loginForm.value, loading).then(() => { locale.value = localStorage.getItem('MaxKB-locale') || getBrowserLang() || 'en-US' localStorage.setItem('workspace_id', 'default') - if (hasPermission([RoleConst.ADMIN, RoleConst.EXTENDS_ADMIN], 'OR')) { - router.push({name: 'user'}) - } else { router.push({name: 'home'}) - } - }) } })