From c4948dc11ff1769bbf5d6473023c3a5465fece19 Mon Sep 17 00:00:00 2001 From: jialin Date: Tue, 19 Aug 2025 11:07:25 +0800 Subject: [PATCH] fix: sso message --- src/global.less | 2 +- src/pages/login/hooks/use-sso-auth.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/global.less b/src/global.less index 418410f4..f06bb503 100644 --- a/src/global.less +++ b/src/global.less @@ -578,7 +578,7 @@ body { overflow-y: auto; .anticon { - padding-top: 5px; + padding-top: 3px; } } diff --git a/src/pages/login/hooks/use-sso-auth.ts b/src/pages/login/hooks/use-sso-auth.ts index bebbca7d..1649e660 100644 --- a/src/pages/login/hooks/use-sso-auth.ts +++ b/src/pages/login/hooks/use-sso-auth.ts @@ -63,7 +63,6 @@ export function useSSOAuth({ } } catch (error: any) { setLoginOption({ oidc: false, saml: false }); - onError?.(new Error(error)); onLoading?.(false); } };