Skip to content

Commit

Permalink
Hide social login links when SAML is available or SSO provider is enf…
Browse files Browse the repository at this point in the history
…orced
  • Loading branch information
maxbelm committed Sep 6, 2023
1 parent bc091c6 commit 88d48f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/src/scenes/authentication/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,9 @@ export function Login(): JSX.Element {
</Link>
</div>
)}
<SocialLoginButtons caption="Or log in with" topDivider />
{!precheckResponse.saml_available && !precheckResponse.sso_enforcement && (
<SocialLoginButtons caption="Or log in with" topDivider />
)}
</div>
</BridgePage>
)
Expand Down

0 comments on commit 88d48f0

Please sign in to comment.