fix sso login without identity providers (#1934)

This commit is contained in:
Ajay Bura
2024-09-08 22:51:43 +10:00
committed by GitHub
parent c6a8fb1117
commit 09444f9e08
4 changed files with 72 additions and 63 deletions

View File

@@ -83,10 +83,7 @@ export function Register() {
<SSOLogin
providers={sso.identity_providers}
redirectUrl={ssoRedirectUrl}
asIcons={
registerFlows.status === RegisterFlowStatus.FlowRequired &&
sso.identity_providers.length > 2
}
saveScreenSpace={registerFlows.status === RegisterFlowStatus.FlowRequired}
/>
<span data-spacing-node />
</>