Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

fix: reload HideLocalLogin immediately after settings change. Related to #857

rcourtman17498d7581db
diff --git a/internal/api/router.go b/internal/api/router.go
index 120bb872fc..26d6f119ea 100644
--- a/internal/api/router.go
+++ b/internal/api/router.go
@@ -1756,6 +1756,9 @@ func (r *Router) reloadSystemSettings() {
r.cachedAllowEmbedding = systemSettings.AllowEmbedding
r.cachedAllowedOrigins = systemSettings.AllowedEmbedOrigins
+ // Update HideLocalLogin so it takes effect immediately without restart
+ r.config.HideLocalLogin = systemSettings.HideLocalLogin
+
// Update webhook allowed private CIDRs in notification manager
if r.monitor != nil {
if nm := r.monitor.GetNotificationManager(); nm != nil {