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); } };