fix(admin): config summary shows the reverse proxy auth header when it is disabled (#40618)

Showing such config options is useless.

* Fixes #31505

---------

Signed-off-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
Eshaanandwxiaoguang authored and GitHub committed 2026-12-03 01:45:41 +00:00
1 parent fd8a8611ad
commit 70adb24626
2 files changed
-3

No files matched your search

-1
View File
@@ -3426,7 +3426,6 @@
"admin.config.lfs_root_path": "LFS Root Path",
"admin.config.log_file_root_path": "Log Path",
"admin.config.script_type": "Script Type",
"admin.config.reverse_auth_user": "Reverse Authentication User",
"admin.config.ssh_config": "SSH Configuration",
"admin.config.ssh_enabled": "Enabled",
"admin.config.ssh_start_builtin_server": "Use Built-In Server",
-2
View File
@@ -38,8 +38,6 @@
<dd>{{.LogRootPath}}</dd>
<dt>{{ctx.Locale.Tr "admin.config.script_type"}}</dt>
<dd>{{.ScriptType}}</dd>
<dt>{{ctx.Locale.Tr "admin.config.reverse_auth_user"}}</dt>
<dd>{{.ReverseProxyAuthUser}}</dd>
</dl>
</div>