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
Polish: Use SecurityStatus type in Login.tsx
rcourtmand3a9735da1e8
diff --git a/frontend-modern/src/components/Login.tsx b/frontend-modern/src/components/Login.tsxindex 4d83cd36d8..2394ada949 100644--- a/frontend-modern/src/components/Login.tsx+++ b/frontend-modern/src/components/Login.tsx@@ -13,18 +13,7 @@ interface LoginProps {securityStatus?: SecurityStatus; // Full security status from App.tsx to avoid redundant API call}-interface SecurityStatus {- hasAuthentication: boolean;- oidcEnabled?: boolean;- oidcIssuer?: string;- oidcClientId?: string;- oidcEnvOverrides?: Record<string, boolean>;- disabled?: boolean;- deprecatedDisableAuth?: boolean;- message?: string;- apiTokenConfigured?: boolean;- hideLocalLogin?: boolean;-}+import type { SecurityStatus } from '@/types/config';export const Login: Component<LoginProps> = (props) => {const [username, setUsername] = createSignal('');@@ -119,7 +108,7 @@ export const Login: Component<LoginProps> = (props) => {logger.debug('[Login] Starting auth check...');try {- const data = await apiFetchJSON<any>('/api/security/status');+ const data = await apiFetchJSON<SecurityStatus>('/api/security/status');logger.debug('[Login] Auth status data', data);setAuthStatus(data);} catch (err: any) {