fix(pve): Fix connection issues and add more error handlings (#1081)
* feat(PVE): Added display of PVE connection loading steps Added a detailed display of loading steps during the PVE connection process, including stages such as establishing an SSH tunnel, authentication, and data retrieval Also optimized the sorting of PVE storage content and the logic for handling connection errors * feat(pve): Added error handling and prompts for PVE two-factor authentication Added error handling for PVE servers when two-factor authentication is enabled, along with relevant error types and localized prompts * feat(PVE): Added support for PVE passwords during key-based authentication - Added the `pvePwd` field to the `ServerCustom` model - Added a PVE password input field to the edit page (displayed only during key-based authentication) - Updated multilingual files to support PVE-related loading states and password prompts - Optimized PVE connection logic to support password verification during key-based authentication
This commit is contained in:
@@ -154,7 +154,14 @@
|
||||
"pushToken": "消息推送 Token",
|
||||
"pveIgnoreCertTip": "不推荐开启,注意安全隐患!如果你使用的 PVE 默认证书,需要开启该选项",
|
||||
"pveLoginFailed": "登录失败。无法使用服务器配置中的用户名或密码通过 Linux PAM 方式认证。",
|
||||
"pveOtpRequired": "此 PVE 服务器已启用双因素认证,请输入 OTP 验证码。",
|
||||
"pveVersionLow": "当前该功能处于测试阶段,仅在 PVE 8+ 上测试过,请谨慎使用",
|
||||
"pveLoadingForwarding": "正在建立 SSH 隧道...",
|
||||
"pveLoadingLogin": "正在认证 PVE...",
|
||||
"pveLoadingData": "正在获取集群数据...",
|
||||
"pveLoadingConnect": "正在连接...",
|
||||
"pvePassword": "PVE 密码",
|
||||
"pvePasswordHint": "使用密钥认证时需要填写",
|
||||
"read": "读",
|
||||
"recentConnections": "最近连接记录",
|
||||
"rememberPwdInMem": "在内存中记住密码",
|
||||
|
||||
Reference in New Issue
Block a user