diff --git a/backend/middleware/session.go b/backend/middleware/session.go
index 8aa9b79bf..965259c13 100644
--- a/backend/middleware/session.go
+++ b/backend/middleware/session.go
@@ -65,7 +65,7 @@ func SessionAuth() gin.HandlerFunc {
func isValid1PanelToken(panelToken string, panelTimestamp string) bool {
system1PanelToken := global.CONF.System.ApiKey
- if GenerateMD5("1panel"+panelToken+panelTimestamp) == GenerateMD5("1panel"+system1PanelToken+panelTimestamp) {
+ if panelToken == GenerateMD5("1panel"+system1PanelToken+panelTimestamp) {
return true
}
return false
diff --git a/frontend/src/lang/modules/en.ts b/frontend/src/lang/modules/en.ts
index de0daca0f..ff5550974 100644
--- a/frontend/src/lang/modules/en.ts
+++ b/frontend/src/lang/modules/en.ts
@@ -1410,8 +1410,8 @@ const message = {
apiInterfaceHelper: 'Allow third-party applications to access the API.',
apiInterfaceAlert1: `Don't enable it in production environments because it may increase server security risks.`,
apiInterfaceAlert2: `Don't use third-party applications to call the API to prevent potential security threats.`,
- apiInterfaceAlert3: 'API document:',
- apiInterfaceAlert4: 'Usage document:',
+ apiInterfaceAlert3: 'API Docs',
+ apiInterfaceAlert4: 'Usage Docs',
apiKey: 'Interface key',
apiKeyHelper: 'API key is used for third-party applications to access the API.',
ipWhiteList: 'IP whitelist',
diff --git a/frontend/src/lang/modules/tw.ts b/frontend/src/lang/modules/tw.ts
index 010575817..75663245d 100644
--- a/frontend/src/lang/modules/tw.ts
+++ b/frontend/src/lang/modules/tw.ts
@@ -1331,8 +1331,8 @@ const message = {
apiInterfaceHelper: '提供面板支持 API 接口訪問',
apiInterfaceAlert1: '請不要在生產環境開啟,這可能新增服務器安全風險',
apiInterfaceAlert2: '請不要使用協力廠商應用調用面板 API,以防止潜在的安全威脅。',
- apiInterfaceAlert3: 'API 接口檔案:',
- apiInterfaceAlert4: '使用檔案:',
+ apiInterfaceAlert3: 'API 接口檔案',
+ apiInterfaceAlert4: '使用檔案',
apiKey: '接口密钥',
apiKeyHelper: '接口密钥用於外部應用訪問 API 接口',
ipWhiteList: 'IP白名單',
diff --git a/frontend/src/lang/modules/zh.ts b/frontend/src/lang/modules/zh.ts
index 605d38f5c..dc486ee8d 100644
--- a/frontend/src/lang/modules/zh.ts
+++ b/frontend/src/lang/modules/zh.ts
@@ -1333,8 +1333,8 @@ const message = {
apiInterfaceHelper: '提供面板支持 API 接口访问',
apiInterfaceAlert1: '请不要在生产环境开启,这可能增加服务器安全风险',
apiInterfaceAlert2: '请不要使用第三方应用调用面板 API,以防止潜在的安全威胁。',
- apiInterfaceAlert3: 'API 接口文档:',
- apiInterfaceAlert4: '使用文档:',
+ apiInterfaceAlert3: 'API 接口文档',
+ apiInterfaceAlert4: '使用文档',
apiKey: '接口密钥',
apiKeyHelper: '接口密钥用于外部应用访问 API 接口',
ipWhiteList: 'IP 白名单',
diff --git a/frontend/src/views/setting/panel/api-interface/index.vue b/frontend/src/views/setting/panel/api-interface/index.vue
index 07b2ade90..458aa6bf0 100644
--- a/frontend/src/views/setting/panel/api-interface/index.vue
+++ b/frontend/src/views/setting/panel/api-interface/index.vue
@@ -21,15 +21,13 @@