fix: 修复CSP白屏并优化LDAP配置
This commit is contained in:
1 parent
a14d9e62e6
commit
c7f59f2cbf
12 files changed
+930
-70
No files matched your search
@@ -73,7 +73,7 @@
|
||||
"passwordLabel": "密码",
|
||||
"passwordPlaceholder": "请输入密码",
|
||||
"loginButton": "登 录",
|
||||
"defaultAccount": "默认账号 <strong>admin / admin123</strong>,登录后请立即修改",
|
||||
"defaultAccount": "默认账号 {account},登录后请立即修改",
|
||||
"errorEmpty": "请输入用户名和密码",
|
||||
"loginSuccess": "登录成功",
|
||||
"changePasswordFirst": "首次登录请先修改密码",
|
||||
@@ -279,14 +279,22 @@
|
||||
"roleOperator": "运维",
|
||||
"roleViewer": "只读",
|
||||
"noUsers": "还没有用户",
|
||||
"ldapTitle": "LDAP 身份源",
|
||||
"ldapTitle": "LDAP / Active Directory",
|
||||
"ldapHint": "LDAP 用户可首次登录后自动同步,也可使用左侧「LDAP 导入」预先添加。",
|
||||
"ldapUrl": "LDAP URL",
|
||||
"bindDn": "Bind DN",
|
||||
"bindPassword": "Bind 密码",
|
||||
"ldapConfigHint": "配置 LDAP 服务器,实现统一身份认证",
|
||||
"ldapEnabled": "启用 LDAP",
|
||||
"ldapServerAddress": "LDAP 服务器地址",
|
||||
"ldapServerAddressPlaceholder": "例如 8.217.205.92 或 ldap.example.com",
|
||||
"ldapPort": "端口",
|
||||
"ldapProtocol": "连接协议",
|
||||
"ldapProtocolLDAPS": "LDAPS(推荐)",
|
||||
"ldapProtocolLDAP": "LDAP",
|
||||
"bindDn": "管理员 Bind DN",
|
||||
"bindPassword": "管理员密码",
|
||||
"keepOriginal": "留空保持原值",
|
||||
"baseDn": "Base DN",
|
||||
"userFilter": "用户过滤",
|
||||
"baseDn": "Base DN(用户搜索基础)",
|
||||
"userFilter": "搜索过滤器(可选,%s 表示用户名)",
|
||||
"enableLdaps": "启用 LDAPS(SSL 加密)",
|
||||
"usernameAttr": "用户名属性",
|
||||
"testConnection": "测试连接",
|
||||
"editUser": "编辑用户",
|
||||
@@ -320,6 +328,7 @@
|
||||
"ldapLoadFailed": "LDAP 加载失败",
|
||||
"ldapConfigSaved": "LDAP 配置已保存",
|
||||
"ldapConnected": "LDAP 连接成功",
|
||||
"ldapTestRequired": "请先测试 LDAP 连接,通过后才能保存",
|
||||
"ldapConnectFailed": "连接失败",
|
||||
"emptyUsername": "(空)",
|
||||
"errorDetails": "失败详情:"
|
||||
@@ -502,8 +511,9 @@
|
||||
"plugins": {
|
||||
"title": "自定义协议插件",
|
||||
"registerPlugin": "注册插件",
|
||||
"pluginHint": "插件通过<b>命令钩子</b>实现统一协议契约:平台将专线配置 JSON 通过 stdin 传给钩子命令。",
|
||||
"pluginContract": "契约:<code>Create / Start / Stop / Status / Config</code>;Status 钩子 stdout 输出 <code>running</code> 或 <code>stopped</code>;Config 钩子 stdout 输出客户端配置文本。",
|
||||
"commandHooks": "命令钩子",
|
||||
"pluginHint": "插件通过 {hooks} 实现统一协议契约:平台将专线配置 JSON 通过 stdin 传给钩子命令。",
|
||||
"pluginContract": "契约:{contract};Status 钩子 stdout 输出 {running} 或 {stopped};Config 钩子 stdout 输出客户端配置文本。",
|
||||
"protocolId": "协议标识",
|
||||
"enabled": "启用",
|
||||
"disabled": "停用",
|
||||
@@ -1024,4 +1034,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user