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.

Polish: Fix type error in Login fallback state

rcourtman220ed1a29040
diff --git a/frontend-modern/src/components/Login.tsx b/frontend-modern/src/components/Login.tsx
index 2394ada949..9bffe433cc 100644
--- a/frontend-modern/src/components/Login.tsx
+++ b/frontend-modern/src/components/Login.tsx
@@ -118,7 +118,7 @@ export const Login: Component<LoginProps> = (props) => {
// Just assume no auth on error, matching previous logic mostly.
logger.error('[Login] Failed to check auth status:', err);
- setAuthStatus({ hasAuthentication: false });
+ setAuthStatus({ hasAuthentication: false } as SecurityStatus);
} finally {
logger.debug('[Login] Auth check complete, setting loading to false');
setLoadingAuth(false);