perf: 智能问答禁止密码自动填充

This commit is contained in:
“huailei000”
2023-12-22 16:08:05 +08:00
committed by Bryan
parent cfe6db6ec5
commit a36a9e7645
4 changed files with 19 additions and 0 deletions

View File

@@ -1757,6 +1757,7 @@
"LDAPServerInfo": "LDAP Server", "LDAPServerInfo": "LDAP Server",
"LDAPUser": "LDAP User", "LDAPUser": "LDAP User",
"ChatAI": "Chat ai", "ChatAI": "Chat ai",
"Example": "Example: {example}",
"InsecureCommandAlert": "Insecure command alert", "InsecureCommandAlert": "Insecure command alert",
"helpText": { "helpText": {
"TempPassword": "For a while, there is a period of 300 seconds, failure immediately after use", "TempPassword": "For a while, there is a period of 300 seconds, failure immediately after use",

View File

@@ -1763,6 +1763,7 @@
"LDAPServerInfo": "LDAPサーバー", "LDAPServerInfo": "LDAPサーバー",
"LDAPUser": "LDAPユーザー", "LDAPUser": "LDAPユーザー",
"ChatAI": "チャットAI", "ChatAI": "チャットAI",
"Example": "例: {example}",
"helpText": { "helpText": {
"TempPassword": "一時パスワードの有効期間は300秒で、使用後すぐに失効します", "TempPassword": "一時パスワードの有効期間は300秒で、使用後すぐに失効します",
"ApiKeyList": "Api keyを使用してリクエストヘッダに署名します。リクエストのヘッダごとに異なります。使用ドキュメントを参照してください", "ApiKeyList": "Api keyを使用してリクエストヘッダに署名します。リクエストのヘッダごとに異なります。使用ドキュメントを参照してください",

View File

@@ -1752,6 +1752,7 @@
"LDAPServerInfo": "LDAP 服务器", "LDAPServerInfo": "LDAP 服务器",
"LDAPUser": "LDAP 用户", "LDAPUser": "LDAP 用户",
"ChatAI": "智能问答", "ChatAI": "智能问答",
"Example": "例: {example}",
"helpText": { "helpText": {
"TempPassword": "临时密码有效期为 300 秒,使用后立刻失效", "TempPassword": "临时密码有效期为 300 秒,使用后立刻失效",
"ApiKeyList": "使用 Api key 签名请求头进行认证,每个请求的头部是不一样的, 相对于 Token 方式,更加安全,请查阅文档使用;<br>为降低泄露风险Secret 仅在生成时可以查看, 每个用户最多支持创建 10 个", "ApiKeyList": "使用 Api key 签名请求头进行认证,每个请求的头部是不一样的, 相对于 Token 方式,更加安全,请查阅文档使用;<br>为降低泄露风险Secret 仅在生成时可以查看, 每个用户最多支持创建 10 个",

View File

@@ -51,6 +51,22 @@ export default {
] ]
] ]
], ],
fieldsMeta: {
GPT_BASE_URL: {
el: {
autocomplete: 'new-password'
},
helpText: this.$t('setting.Example', { example: 'https://api.openai.com/v1' })
},
GPT_API_KEY: {
el: {
autocomplete: 'new-password'
}
},
GPT_PROXY: {
helpText: this.$t('setting.Example', { example: 'http://ip:port' })
}
},
submitMethod() { submitMethod() {
return 'patch' return 'patch'
} }