增加用户名

This commit is contained in:
dekun
2026-05-22 11:49:41 +08:00
parent cd129b6a25
commit c00a45165b
7 changed files with 84 additions and 40 deletions
+2 -2
View File
@@ -264,8 +264,8 @@
const el = document.getElementById("settings-meta-line");
if (!el) return;
const parts = [];
if (m.password_required) parts.push("已启用 HUB_PASSWORD 登录保护");
else parts.push("未设 HUB_PASSWORD(反代公网暴露时建议设置)");
if (m.password_required) parts.push("已启用用户名+密码登录");
else parts.push("未设 HUB_PASSWORD(反代公网暴露时建议设置 HUB_USERNAME + HUB_PASSWORD");
if (m.hub_bridge_token_set) parts.push("中控已配置 HUB_BRIDGE_TOKEN");
else parts.push("中控未设 HUB_BRIDGE_TOKEN(实例需 APP_AUTH_DISABLED 或同令牌)");
if (m.public_origin) parts.push("浏览器外链基址: " + m.public_origin);