From 1f33b0fd2476c0fd30ab4493eb6e51a6661e7635 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Sat, 31 Jan 2026 02:35:36 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- .../proprietary/sso/sso-settings.tsx | 17 +++--- apps/dokploy/pages/index.tsx | 59 +++++++++---------- 2 files changed, 38 insertions(+), 38 deletions(-) diff --git a/apps/dokploy/components/proprietary/sso/sso-settings.tsx b/apps/dokploy/components/proprietary/sso/sso-settings.tsx index 5ed2917a9..850f65e88 100644 --- a/apps/dokploy/components/proprietary/sso/sso-settings.tsx +++ b/apps/dokploy/components/proprietary/sso/sso-settings.tsx @@ -41,14 +41,19 @@ function parseOidcConfig(config: string | null): { } | null { if (!config) return null; try { - const parsed = JSON.parse(config) as { clientId?: string; scopes?: string[] }; + const parsed = JSON.parse(config) as { + clientId?: string; + scopes?: string[]; + }; return { clientId: parsed.clientId, scopes: parsed.scopes }; } catch { return null; } } -function parseSamlConfig(config: string | null): { entryPoint?: string } | null { +function parseSamlConfig( + config: string | null, +): { entryPoint?: string } | null { if (!config) return null; try { const parsed = JSON.parse(config) as { entryPoint?: string }; @@ -272,9 +277,7 @@ export function SSOSettings() { {detailsProvider.oidcConfig && ( <> {(() => { - const oidc = parseOidcConfig( - detailsProvider.oidcConfig, - ); + const oidc = parseOidcConfig(detailsProvider.oidcConfig); if (!oidc) return null; return ( <> @@ -306,9 +309,7 @@ export function SSOSettings() { {detailsProvider.samlConfig && ( <> {(() => { - const saml = parseSamlConfig( - detailsProvider.samlConfig, - ); + const saml = parseSamlConfig(detailsProvider.samlConfig); if (!saml?.entryPoint) return null; return (
- Sign in with SSO -
-+ Sign in with SSO +
+