diff --git a/frontend/src/scenes/authentication/Login.tsx b/frontend/src/scenes/authentication/Login.tsx index c4dbd8f139cd9..768825b1b76b9 100644 --- a/frontend/src/scenes/authentication/Login.tsx +++ b/frontend/src/scenes/authentication/Login.tsx @@ -142,7 +142,7 @@ export function Login(): JSX.Element { {/* Show regular login button if SSO is not enforced */} - {!precheckResponse.sso_enforcement && ( + {precheckResponse.status === 'pending' || !precheckResponse.sso_enforcement ? ( Log in - )} - - {/* Show enforced SSO button if required */} - {precheckResponse.sso_enforcement && ( + ) : ( + // Show enforced SSO button if required )}