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.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
fix(security): show actual backend error instead of misleading DISABLE_AUTH message
rcourtmane23accf09616
diff --git a/frontend-modern/src/components/Settings/QuickSecuritySetup.tsx b/frontend-modern/src/components/Settings/QuickSecuritySetup.tsxindex f7e30d3557..2dc602f529 100644--- a/frontend-modern/src/components/Settings/QuickSecuritySetup.tsx+++ b/frontend-modern/src/components/Settings/QuickSecuritySetup.tsx@@ -95,11 +95,6 @@ export const QuickSecuritySetup: Component<QuickSecuritySetupProps> = (props) =>});if (!response.ok) {- if (response.status === 401 || response.status === 403) {- throw new Error(- 'Pulse detected a legacy DISABLE_AUTH flag. Remove that environment flag and restart Pulse before enabling security here.',- );- }const error = await response.text();throw new Error(error || 'Failed to setup security');}@@ -111,7 +106,7 @@ export const QuickSecuritySetup: Component<QuickSecuritySetupProps> = (props) =>// Security was already configured, don't show credentialsshowError(result.message ||- 'Security is already configured. Please remove existing security first if you want to reconfigure.',+ 'Security is already configured. Please remove existing security first if you want to reconfigure.',);if (props.onConfigured) {props.onConfigured();@@ -232,22 +227,20 @@ Important:<buttontype="button"onClick={() => setUseCustomPassword(false)}- class={`px-3 py-1 text-xs rounded-lg transition-colors ${- !useCustomPassword()+ class={`px-3 py-1 text-xs rounded-lg transition-colors ${!useCustomPassword()? 'bg-blue-600 text-white': 'bg-gray-200 dark:bg-gray-700 text-gray-700 dark:text-gray-300 hover:bg-gray-300 dark:hover:bg-gray-600'- }`}+ }`}>Auto-Generate</button><buttontype="button"onClick={() => setUseCustomPassword(true)}- class={`px-3 py-1 text-xs rounded-lg transition-colors ${- useCustomPassword()+ class={`px-3 py-1 text-xs rounded-lg transition-colors ${useCustomPassword()? 'bg-blue-600 text-white': 'bg-gray-200 dark:bg-gray-700 text-gray-700 dark:text-gray-300 hover:bg-gray-300 dark:hover:bg-gray-600'- }`}+ }`}>Custom</button>