feat(auth): Add JWT token authentication support with validation
This commit is contained in:
@@ -46,9 +46,11 @@
|
||||
"enterCredentials": "输入您的凭据以访问您的 AI 对话",
|
||||
"credentials": "凭据",
|
||||
"apiKey": "API 密钥",
|
||||
"token": "令牌",
|
||||
"usernameOrEmail": "用户名或电子邮件",
|
||||
"password": "密码",
|
||||
"signInWithApiKey": "使用 API 密钥登录",
|
||||
"signInWithToken": "使用令牌登录",
|
||||
"connectToServer": "连接到服务器",
|
||||
"enterServerAddress": "输入您的 Open-WebUI 服务器地址以开始",
|
||||
"serverUrl": "服务器 URL",
|
||||
@@ -225,6 +227,10 @@
|
||||
"usernameOrEmailHint": "输入您的用户名或电子邮件",
|
||||
"passwordHint": "输入您的密码",
|
||||
"enterApiKey": "输入您的 API 密钥",
|
||||
"enterToken": "输入您的 JWT 令牌",
|
||||
"tokenHint": "请使用浏览器 cookie 或 API 登录中的 JWT 令牌。API 密钥 (sk-...) 不支持流式传输。",
|
||||
"apiKeyNotSupported": "不支持 API 密钥 (sk-...)。请改用 JWT 令牌。",
|
||||
"tokenTooShort": "令牌太短",
|
||||
"signingIn": "正在登录...",
|
||||
"advancedSettings": "高级设置",
|
||||
"customHeaders": "自定义标头",
|
||||
|
||||
Reference in New Issue
Block a user